From 9d969b877a9ea7b355f793362de006ba0d2264e7 Mon Sep 17 00:00:00 2001 From: Jeff Hostetler Date: Mon, 19 Apr 2021 04:21:06 -0400 Subject: [PATCH] odb--daemon: disable resize on oidmap Signed-off-by: Jeff Hostetler --- builtin/odb--daemon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/odb--daemon.c b/builtin/odb--daemon.c index 8e839a4a000205..6cccfd3ceb7f08 100644 --- a/builtin/odb--daemon.c +++ b/builtin/odb--daemon.c @@ -264,6 +264,7 @@ static int do_run_daemon(void) odb_over_ipc__set_is_daemon(); oidmap_init(&my_oidmap, 1024 * 1024); + hashmap_disable_item_counting(&my_oidmap.map); // TODO Create mutexes and locks //