1.1.7 • Published 4 years ago

er_memcached_data_server v1.1.7

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
4 years ago

er_memcached_data_server

Build Status Codacy Badge codecov Maintenance Known Vulnerabilities GitHub top language npm bundle size npm npm GitHub issues GitHub last commit

Plugin for event_request that implements a memcached data server

Notes:

  • Memcached DOES NOT support negative numbers when decrementing and OR incrementing
  • Memcached MAX TTL is 2592000 or 30 days, that will be enforced if a bigger number is given
  • Memcached returns numbers as numbers and not strings if given as numbers

Use:

// Get the data server only
const MemcachedDataServer = require( 'er_memcached_data_server' );
const DataServerPlugin = require( 'event_request/server/plugins/available_plugins/data_server_plugin' );
const app = require( 'event_request' )();

// Attach the cache server
app.apply( new DataServerPlugin( 'er_data_server', { dataServer: new MemcachedDataServer() } ) );
1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago