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

@ -33,10 +33,9 @@
},
"storage": {
"type": "redis",
"host": "0.0.0.0",
"port": 6379,
"db": 2,
"type": "memcached",
"host": "127.0.0.1",
"port": 11211,
"expire": 2592000
},