minwq:由 redis 支持的简约 node.js 工作队列

时间:2024-07-08 03:18:17
【文件属性】:

文件名称:minwq:由 redis 支持的简约 node.js 工作队列

文件大小:5KB

文件格式:ZIP

更新时间:2024-07-08 03:18:17

JavaScript

民政局 由 Redis 支持的简约 Node.JS 工作队列。 (>=2.6.* redis 需要 Lua 支持) npm install minwq ##用法 var minwq = require("minwq") // Create a new store var store= new minwq([options]); // Optional // You can provide a queue suffix for all jobs for namespacing purposes. var store = new minwq({ prefix: "myapp", }); // If you need to provide custom redis clients (due to authentication or because you just want to),


【文件预览】:
minwq-master
----.gitignore(23B)
----README.md(2KB)
----test()
--------test.js(4KB)
----package.json(605B)
----index.js(44B)
----redis()
--------push.lua(367B)
--------pop.lua(597B)
--------rem.lua(152B)
----lib()
--------minwq.js(3KB)

网友评论