mirror of
https://github.com/seejohnrun/haste-server.git
synced 2025-12-13 23:15:55 +00:00
Rewrite the memcached client
* Update syntax to ES6 * Use `memcached` instead of `memcache` * Fix restrictions where expirations weren't pushed forward on GET * Fix a bug where we were unnecessarily bumping expirations on key search Closes #201
This commit is contained in:
@@ -123,7 +123,7 @@ DocumentHandler.prototype.chooseKey = function(callback) {
|
||||
} else {
|
||||
callback(key);
|
||||
}
|
||||
});
|
||||
}, true); // Don't bump expirations when key searching
|
||||
};
|
||||
|
||||
DocumentHandler.prototype.acceptableKey = function() {
|
||||
|
||||
Reference in New Issue
Block a user