We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8c52a9 commit 81236b3Copy full SHA for 81236b3
lib/rspecq/queue.rb
@@ -79,7 +79,7 @@ class Queue
79
def initialize(build_id, worker_id, redis_opts)
80
@build_id = build_id
81
@worker_id = worker_id
82
- @redis = Redis.new(redis_opts.merge(id: worker_id))
+ @redis = Redis.new(redis_opts.merge(id: worker_id, timeout: 10))
83
end
84
85
# NOTE: jobs will be processed from head to tail (lpop)
0 commit comments