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
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

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"