mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Using 1 for a tdb hash size makes for slow inserts....
Jeremy.
This commit is contained in:
parent
ce7aa715ba
commit
d015c08100
@ -46,7 +46,7 @@ void unexpected_packet(struct packet_struct *p)
|
||||
int len=0;
|
||||
|
||||
if (!tdbd) {
|
||||
tdbd = tdb_open_log(lock_path("unexpected.tdb"), 1,
|
||||
tdbd = tdb_open_log(lock_path("unexpected.tdb"), 0,
|
||||
TDB_CLEAR_IF_FIRST|TDB_DEFAULT,
|
||||
O_RDWR | O_CREAT, 0644);
|
||||
if (!tdbd) {
|
||||
|
Loading…
Reference in New Issue
Block a user