New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

er_redis_data_server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

er_redis_data_server

A redis data store for event_request

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

er_redis_data_server

Redis data server plugin for EventRequest

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

Plugin for event_request that implements a redis data server

Notes:

  • Redis does not preserve value types ( numbers will not be numbers but stings after they are returned )
  • Redis does not natively support objects. Any object you are trying to add will be JSON encoded and then JSON decoded when getting it
  • The Redis Data Server has a MAX_TTL of 2147483647, that will be enforced if a bigger number is given
  • There were issues with setting a ttl on locks, so currently the locks have no ttl set.

Use:

// Get the data server only
const RedisDataServer = require( 'er_redis_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 RedisDataServer() } ) );

Keywords

FAQs

Package last updated on 29 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc