Up the hash table size for printing tdb.c
[ira/wip.git] / source3 / 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();