cache items can have a 16bit flags

This commit is contained in:
roberto@goyle
2011-02-18 19:34:02 +01:00
parent 86fcd13dd9
commit 78096fab30
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2425,7 +2425,7 @@ PyObject *py_uwsgi_cache_set(PyObject * self, PyObject * args) {
}
else if (uwsgi.cache_max_items) {
uwsgi_wlock(uwsgi.cache_lock);
if (uwsgi_cache_set(key, keylen, value, vallen, expires)) {
if (uwsgi_cache_set(key, keylen, value, vallen, expires, 0)) {
uwsgi_rwunlock(uwsgi.cache_lock);
Py_INCREF(Py_None);
return Py_None;