serviser-cache-store-interface

1.2.0 • Public • Published

Build Status

const CacheStoreInterface = require('serviser-cache-store-interface');
const MemcachedStore      = require('serviser-cache-store-interface/lib/stores/memcached');
 
const memcached = new MemcachedStore(["127.0.0.1:11211"], {
    timeout: 5000,
    idle: 30000,
    retries: 1,
    failures: 5,
    retry: 30000,
    failuresTimeout: 300000,
    remove: false,
    reconnect: 120000
});
 
memcached instanceof CacheStoreInterface //true

/serviser-cache-store-interface/

    Package Sidebar

    Install

    npm i serviser-cache-store-interface

    Weekly Downloads

    0

    Version

    1.2.0

    License

    GPL-3.0

    Unpacked Size

    58.1 kB

    Total Files

    13

    Last publish

    Collaborators

    • fogine