mirror of
https://github.com/seejohnrun/haste-server
synced 2025-07-07 13:32:13 -07: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:
parent
ad7702aaf4
commit
827e7b51b5
4 changed files with 51 additions and 45 deletions
|
@ -123,7 +123,7 @@ DocumentHandler.prototype.chooseKey = function(callback) {
|
|||
} else {
|
||||
callback(key);
|
||||
}
|
||||
});
|
||||
}, true); // Don't bump expirations when key searching
|
||||
};
|
||||
|
||||
DocumentHandler.prototype.acceptableKey = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue