Up the hash table size for printing tdb.c
authorJeremy Allison <jra@samba.org>
Tue, 4 Feb 2003 23:43:21 +0000 (23:43 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 4 Feb 2003 23:43:21 +0000 (23:43 +0000)
Jeremy.

source/printing/printing_db.c

index ec33daea1a8e2fefd5fe9d7cbaf30b13bf465d26..0aa8dfafa5ad64f98cd81e777674b7c52e23732a 100644 (file)
@@ -95,7 +95,7 @@ struct tdb_print_db *get_print_db_byname(const char *printername)
                done_become_root = True;
        }
 
-       p->tdb = tdb_open_log(printdb_path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
+       p->tdb = tdb_open_log(printdb_path, 5000, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
 
        if (done_become_root)
                unbecome_root();