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:
parent
91013a4e05
commit
88f3c8c5ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue