prepare for the --cache2 option

This commit is contained in:
Unbit
2013-01-23 20:38:55 +01:00
parent e839a9eb89
commit fbfe58948b
+12 -1
View File
@@ -863,7 +863,18 @@ void uwsgi_cache_create(char *arg) {
char *c_hash = NULL;
char *c_hashsize = NULL;
char *c_store = NULL;
char *c_name = NULL;
if (uwsgi_kvlist_parse(arg, strlen(arg), ',', '=',
"name", &c_name,
"max_items", &c_max_items,
"blocksize", &c_blocksize,
"blocks", &c_blocks,
"hash", &c_hash,
"hashsize", &c_hashsize,
"store", &c_store,
NULL)) {
return;
}
}
uwsgi_cache_init(uc);