Allow seconds to be passed explicitly in memcached. #39429
Unanswered
sauravkumal
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure if there is already a solution to this but didn't find any. in
MemcachedStore.php
we haveWhen the second is passed to memcached server, a timestamp is sent instead. And i noticed that over time, if the memcached time starts drifting, the expiry doesn't trigger as intended. I manually bypassed the
$this->calculateExpiration($seconds)
, passed the expiry in seconds and was able to get accurate expiry regardless of the drift. So just an idea if we should add this feature, or should I keep doing it as i am doing.Beta Was this translation helpful? Give feedback.
All reactions