fasten 0.12.0 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/fasten/runner.rb +1 -1
- data/lib/fasten/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98294547cda428694c3da8c745f163bb4d860e419cee64320d28b5b1178f1682
|
4
|
+
data.tar.gz: 23a8699f322f4cdf27beb1c0410a5443b12f294af6477ad6c45626d89b820aa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee1b5d66b598ac66fe9a1c545ceeecec027ec5dd658f58443213006ef5599a4189f51a8e8d622585578de412a5be320e36cefd9f49921d55a5cdb9725922c902
|
7
|
+
data.tar.gz: 28b0d3e51510ae91e43666480852c7811832b30aaefebd911a170f4281b2fa233f0891ac7cfc1fda6234d531806c30ca6d4f01913f5d994b86ec094e9890a8cd
|
data/Gemfile.lock
CHANGED
data/lib/fasten/runner.rb
CHANGED
@@ -116,7 +116,7 @@ module Fasten
|
|
116
116
|
end
|
117
117
|
|
118
118
|
def should_wait_for_running_tasks?
|
119
|
-
tasks.running? && (tasks.no_waiting? || tasks.failed? || %i[PAUSING QUITTING].include?(state)) || tasks.running.
|
119
|
+
tasks.running? && (tasks.no_waiting? || tasks.failed? || %i[PAUSING QUITTING].include?(state)) || tasks.running.map(&:weight).sum >= jobs
|
120
120
|
end
|
121
121
|
|
122
122
|
def wait_for_running_tasks
|
data/lib/fasten/version.rb
CHANGED