Skip to content

Commit 81236b3

Browse files
committed
Increment the redis timeout from 1 second to 10 seconds
1 parent b8c52a9 commit 81236b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspecq/queue.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Queue
7979
def initialize(build_id, worker_id, redis_opts)
8080
@build_id = build_id
8181
@worker_id = worker_id
82-
@redis = Redis.new(redis_opts.merge(id: worker_id))
82+
@redis = Redis.new(redis_opts.merge(id: worker_id, timeout: 10))
8383
end
8484

8585
# NOTE: jobs will be processed from head to tail (lpop)

0 commit comments

Comments
 (0)