Skip to content

Feature storeretrycount #96

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

Merged
merged 3 commits into from
Nov 15, 2013

Conversation

poison
Copy link
Member

@poison poison commented Nov 15, 2013

I found out that store commands were always performed 2x extra whenever memcache fails. This is hardcoded and introduced in 2011. Now there's an ini setting and a setOption in order to control this behaviour.

@@ -202,6 +203,7 @@ enum memcached_compression_type {
#if HAVE_MEMCACHED_SASL
zend_bool has_sasl_data;
#endif
int store_retry_count;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should probably be long

@mkoppanen
Copy link
Member

Added two quick comments, looks good!

mkoppanen pushed a commit that referenced this pull request Nov 15, 2013
@mkoppanen mkoppanen merged commit 6fb645a into php-memcached-dev:master Nov 15, 2013
@mkoppanen
Copy link
Member

Merged, good work!

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