mirror of
https://github.com/seejohnrun/haste-server
synced 2025-07-10 15:23:36 -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
|
@ -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
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue