Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed php plugin to use new cache api #138

Merged
merged 1 commit into from
Jan 28, 2013
Merged

fixed php plugin to use new cache api #138

merged 1 commit into from
Jan 28, 2013

Conversation

prymitive
Copy link
Contributor

No description provided.

@prymitive
Copy link
Contributor Author

I've added more fixes, if I got it right we should always use uwsgi.caches (since it's the first and as such the default cache) instead of old global attributes

unbit added a commit that referenced this pull request Jan 28, 2013
fixed php plugin to use new cache api
@unbit unbit merged commit edb9c5f into unbit:master Jan 28, 2013
@unbit
Copy link
Owner

unbit commented Jan 28, 2013

yes, this is right. uwsgi.cache_get/set/update/del() function works on the first configured cache (to maintain backward compatibility), while the new uwsgi.cache_get2/set2/update2/del2() require the name of the cache as the first argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants