Reduce max key size in disk cache

We used only 12 byte keys no need to have a max key size more than 16
This commit is contained in:
Kovid Goyal
2024-02-13 11:13:17 +05:30
parent 91013a4e05
commit 88f3c8c5ee

View File

@@ -6,7 +6,7 @@
*/
#define EXTRA_INIT if (PyModule_AddFunctions(module, module_methods) != 0) return false;
#define MAX_KEY_SIZE 256u
#define MAX_KEY_SIZE 16u
#include "disk-cache.h"
#include "safe-wrappers.h"