-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix: set default TTL for APCu cache as per docs #46395
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Memcached seems to have the same problem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple thoughts:
- Should we do this for
inc
anddec
too? e.g. https://www.php.net/manual/en/function.apcu-inc.php - Should we adjust the logging wrapper to include the ttl at the same time?
- Probably out of scope, but may also be an opportunity clean-up the no longer needed code for an early PHP 7 bug in
inc
&dec
a bit farther down
7231ef5
to
8a5ecb3
Compare
|
Seems the documentation is also different. |
97b2ce7
to
d6640cc
Compare
d6640cc
to
58a4982
Compare
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
…e interface Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
58a4982
to
5490b12
Compare
This is causing troubles on v30: #48007 |
Make the method behavior match the description