8000 GitHub - mn13/redis-lock-usage: Only one generator and multiple listeneners at the time in the single app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mn13/redis-lock-usage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-lock-usage

Only one generator and multiple listeneners at the time in the single app.

Messages are pushed to "errors" list with 5% probability. Run with getErrors arg to check and clear errors.

  1. npm install (installs only node-redis)
  2. make redis for starting redis in docker OR provide REDIS_HOST and REDIS_PORT enviroments
  3. npm start to start
  4. npm start getErrors to get and clear "errors".

Build-in sample:

  1. make redis
  2. node usage.js

About

Only one generator and multiple listeneners at the time in the single app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0