catbox-memcached2
v3.2.0
Published
Memcached adapter for catbox. Supports events, more than 30 days ttl and ready to use for production
Downloads
7
Readme
catbox-memcached2
Memcached adapter for catbox. Supports events, more than 30 days ttl and ready to use for production.
Installation
npm install catbox-memcached2
Usage
Options
location
- Memcached server location. Defaultlocalhost:11211
partition
- Cache key prefix. Catbox sets partition tocatbox
if it is not defined so useNONE
for no partition.poolSize
- Connection pool size. Default10
minTimeout
- Connection pool retry min delay before retrying. Default0
retries
- Connection pool retries to pull connection from pool. Default0
reconnect
- Reconnect delay after server is dead. Default1000
msfailures
- Number of failure before marked server as dead. Default1
retry
- Retry delay when server has an error. Default1000
msidle
- Idle time before removing connection from pool. Default60000
msflags
- FlagsbypassCacheOnConnError
- Bypass cache if there is a connection error. Defaultfalse
debug
- List of flags (['events']
) for debugging. Default[]
See catbox client and memcached for more details and options.
License
Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.