dtimer
Advanced tools
Comparing version 0.1.0 to 0.1.2
@@ -18,3 +18,3 @@ 'use strict'; | ||
update: { | ||
script: fs.readFileSync(__dirname + '/update.lua', {encoding:'utf8'}) | ||
script: fs.readFileSync(__dirname + '/update.lua', 'utf8') | ||
} | ||
@@ -21,0 +21,0 @@ }; |
{ | ||
"name": "dtimer", | ||
"version": "0.1.0", | ||
"version": "0.1.2", | ||
"description": "Distributed timer backed by Redis.", | ||
@@ -14,10 +14,10 @@ "main": "index.js", | ||
"dependencies": { | ||
"underscore": "^1.6.0", | ||
"redis": "^0.11.0", | ||
"async": "^0.9.0", | ||
"lured": "^0.0.1", | ||
"underscore": "~1.6.0", | ||
"redis": "~0.12.1", | ||
"lured": "~0.0.2", | ||
"debug": "~1.0.4" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^1.21.0" | ||
"async": "~0.9.0", | ||
"mocha": "~1.21.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "keywords": [ |
# dtimer | ||
[![NPM](https://nodei.co/npm/dtimer.png?compact=true)](https://nodei.co/npm/dtimer/) | ||
Distributed timer backed by Redis. | ||
[![NPM](https://nodei.co/npm/dtimer.png)](https://nodei.co/npm/dtimer/) | ||
[![unstable](https://img.shields.io/badge/stability-unstable-yellowgreen.svg)](http://nodejs.org/api/documentation.html#documentation_stability_index) | ||
[![Build Status](https://travis-ci.org/enobufs/dtimer.svg?branch=master)](https://travis-ci.org/enobufs/dtimer) | ||
Distributed timer backed by Redis. | ||
## Why dtimer? | ||
@@ -74,2 +73,2 @@ In a clustered server environment, you'd occasionally need to process a task after a certain period of time. The setTimeout() may not be suitable because the process may die for whatever reason, the timed events would also be lost. Ideally, you'd want to store these timed events on a central strage, then have a cluster of listeners handle the due events. If you are already using Redis, then this dtimer would be a handy solution for you. | ||
// posted event successfully }) | ||
``` | ||
``` |
Sorry, the diff of this file is not supported yet
15463
4
2
+ Addedlured@0.0.3(transitive)
+ Addedredis@0.12.1(transitive)
+ Addedunderscore@1.6.0(transitive)
- Removedasync@^0.9.0
- Removedlured@0.0.1(transitive)
- Removedredis@0.11.0(transitive)
- Removedunderscore@1.13.6(transitive)
Updatedlured@~0.0.2
Updatedredis@~0.12.1
Updatedunderscore@~1.6.0