switchman 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/switchman/shard.rb +2 -2
- data/lib/switchman/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06d9cc6979bbd041bf666df98bb14b4f5f7b3bdf
|
4
|
+
data.tar.gz: 636e446d8582a4fc2ac6a4e563dc0b085a1256a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f6f69920ca04cff70ebd8dd515fc03d13932b2add95a322f9d5db2e1f76dd4e24233e89a9b4c1f9b5cfae302653c751adbc9cbe3b53a0a3d685edabd6a66f19
|
7
|
+
data.tar.gz: d533309016d57befb426d562be635b982ffd264b947dce5c91b8b24e274edfdc3750ffe6a4531df7271e4934be184ae5da2bb3f266c574778a83318d6a8869fb
|
@@ -249,8 +249,8 @@ module Switchman
|
|
249
249
|
fd_to_name_map[details[3]] = name
|
250
250
|
|
251
251
|
is_last_subscope = (idx + 1 == subscopes.length)
|
252
|
-
while (is_last_subscope && pids.any?) || (pids.count >= max_procs)
|
253
|
-
while (is_last_subscopes && out_fds.any?) || (out_fds.count >= max_procs)
|
252
|
+
while (is_last_subscope && pids.any?) || (max_procs && pids.count >= max_procs)
|
253
|
+
while (is_last_subscopes && out_fds.any?) || (max_procs && out_fds.count >= max_procs)
|
254
254
|
# wait for output if we've reached the end or if we've hit the max_procs limit
|
255
255
|
ready, _ = IO.select(out_fds + err_fds)
|
256
256
|
ready.each do |fd|
|
data/lib/switchman/version.rb
CHANGED