Skip to content

Commit bd864e7

Browse files
update timeout to 60 seconds
1 parent 28b4917 commit bd864e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/queue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var Queue = module.exports = function(name, opts) {
4545
this.servers = opts.servers || 'nats://localhost:4222';
4646

4747
// default timeout of 30sec for someone to start handling the request
48-
this.timeout = opts.timeout || 10*1000;
48+
this.timeout = opts.timeout || 60*1000;
4949

5050
var hash = crypto.createHash('sha1');
5151
var connectionHash = hash.update(JSON.stringify(this.servers)).digest('hex');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cf-queue",
3-
"version": "0.0.32",
3+
"version": "0.0.33",
44
"description": "Queue wrapper for nats.io",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)