Skip to content

Commit 38a6a64

Browse files
authored
fix: a bug for concurrency-model :none (#272)
1 parent efc80f8 commit 38a6a64

File tree

1 file changed

+1
-1
lines changed
  • lib/redis_client/cluster/concurrent_worker

1 file changed

+1
-1
lines changed

lib/redis_client/cluster/concurrent_worker/none.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class None
77
def new_group(size:)
88
::RedisClient::Cluster::ConcurrentWorker::Group.new(
99
worker: self,
10-
queue: Array.new(size),
10+
queue: [],
1111
size: size
1212
)
1313
end

0 commit comments

Comments
 (0)