optimizate: session table support overwrite HASH_INITIAL_NUM_BUCKETS

This commit is contained in:
luwenpeng
2024-08-12 15:32:37 +08:00
parent 8054b9c032
commit 0414710399
2 changed files with 3 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#include <assert.h>
#define HASH_INITIAL_NUM_BUCKETS 32768U // initial number of buckets
#define HASH_FUNCTION(keyptr, keylen, hashv) HASH_FUNCTION_OVERWRITE(keyptr, keylen, &hashv)
#define HASH_KEYCMP(a, b, len) HASH_KEYCMP_OVERWRITE(a, b, len)
#include "session_def.h"