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:
John Crepezzi
2018-02-16 09:52:44 -05:00
parent ad7702aaf4
commit 827e7b51b5
4 changed files with 51 additions and 45 deletions

View File

@@ -156,9 +156,9 @@ All of which are optional except `type` with very logical default values.
### Memcached
To use memcached storage you must install the `memcache` package via npm
To use memcache storage you must install the `memcached` package via npm
`npm install memcache`
`npm install memcached`
Once you've done that, your config section should look like: