Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:votizen/node-rqueue

  • Loading branch information...
commit 1631b4d2bcb32ed57f254fecd78321e30072e00f 2 parents 59c8a19 + 912e4f1
@tim-smart tim-smart authored
Showing with 12 additions and 10 deletions.
  1. +8 −7 README
  2. +4 −3 package.json
View
15 README
@@ -1,14 +1,15 @@
Description
-----------
-Node-redis-queue is a simple Redis based message queue for communicating between multiple platforms.
+Node-RQueue is a simple Redis based message queue for communicating between multiple platforms.
+
It uses a easy to implement message paradigm within Redis lists.
An example message:
{
- id: 1,
- payload: 'Some data',
+ id: UUID,
+ payload: 'JSON DATA',
errors: ['HTTP 404'],
error_count: 1
}
@@ -20,8 +21,8 @@ Usage
queue-server.js:
-// Require the node-redis-queue
-var client = require('./node-redis-queue');
+// Require the node-rqueue
+var client = require('./node-rqueue');
// Create the Queue with a redis server listening on localhost:6379
var user_queue = new client.Queue({
@@ -39,8 +40,8 @@ user_queue.push('Any JSON.strinify-able data goes in this parameter', function (
queue-worker.js:
-// Require the node-redis-queue
-var client = require('./node-redis-queue');
+// Require the node-rqueue
+var client = require('./node-rqueue');
// Create a worker for each queue.
var worker = client.createWorker({
View
7 package.json
@@ -1,8 +1,9 @@
{
- "name": "redis-queue",
- "description": "A simple message queue backed by Redis.",
+ "name": "rqueue",
+ "description": "A node.js implementation of RQueue, includes Worker and Queue ",
"version": "0.1.2",
- "author": "Tim Smart",
+ "author": "Tim Smart <tim@votizen.com>",
+ "contributors": ["Micheil Smith <micheil@votizen.com>"],
"engine": [ "node >=0.3.6" ],
"main": "./",
"dependencies": {
Please sign in to comment.
Something went wrong with that request. Please try again.