-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update all missing this->_lastKey update for backend cache #12072
Conversation
Could you please update CHANGELOG.md |
Why not just do let this->_lastKey = lastKey, they seem the same (would save re-concatenation, not a big deal) |
Update the |
@@ -195,6 +195,7 @@ class Mongo extends Backend implements BackendInterface | |||
} else { | |||
let prefix = this->_prefix; | |||
let lastkey = prefix . keyName; | |||
let this->_lastKey = lastKey; |
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.
lastkey
!= lastKey
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.
@hinablue Also could you please rebase |
* @param long lifetime | ||
* @param boolean stopBuffer | ||
*/ | ||
public function save(keyName = null, content = null, lifetime = null, boolean stopBuffer = true) -> boolean |
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.
Could you please return back tabs instead of spaces?
Thanks. Fixed in the |
Add the
this->_lastKey
update for all backend cache.Refs: #12050