summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/database.c b/src/database.c
index 66e2926..d546d7e 100644
--- a/src/database.c
+++ b/src/database.c
@@ -1151,10 +1151,10 @@ int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts)
goto ret_r;
}
- apk_hash_init(&db->available.names, &pkg_name_hash_ops, 1000);
- apk_hash_init(&db->available.packages, &pkg_info_hash_ops, 4000);
- apk_hash_init(&db->installed.dirs, &dir_hash_ops, 2000);
- apk_hash_init(&db->installed.files, &file_hash_ops, 10000);
+ apk_hash_init(&db->available.names, &pkg_name_hash_ops, 4000);
+ apk_hash_init(&db->available.packages, &pkg_info_hash_ops, 10000);
+ apk_hash_init(&db->installed.dirs, &dir_hash_ops, 10000);
+ apk_hash_init(&db->installed.files, &file_hash_ops, 20000);
list_init(&db->installed.packages);
list_init(&db->installed.triggers);
apk_dependency_array_init(&db->world);