ci-queue 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dev.yml +1 -1
- data/lib/ci/queue/redis/base.rb +2 -2
- data/lib/ci/queue/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: 33a7fd6d204f0b946f8bc4007e1e948473cfecdcc9b822790f9832f1f2f726f6
|
4
|
+
data.tar.gz: 80c7105ad884094d737ddcf140e2a491f5d84af71c83856ad6d1382d7fea39b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 567e793b6d5114a37570fe3834966562aae6f1ba23484c2dfdb02dcaa6689aa8c6b4b35d5c705936273809af4abfe6f236c821eb655f9aed9f5af599faeb0b72
|
7
|
+
data.tar.gz: 62bd24aafeaf69fd5e308f9a253e66c602b2fca3e0760572afe467f989ab1a2397edc37f7bdf60df662d00dedda43f2004b20c8bec971b0cf48b92452b50a6a2
|
data/dev.yml
CHANGED
data/lib/ci/queue/redis/base.rb
CHANGED
@@ -38,7 +38,7 @@ module CI
|
|
38
38
|
total - size
|
39
39
|
end
|
40
40
|
|
41
|
-
def wait_for_master(timeout:
|
41
|
+
def wait_for_master(timeout: 30)
|
42
42
|
return true if master?
|
43
43
|
(timeout * 10 + 1).to_i.times do
|
44
44
|
if queue_initialized?
|
@@ -47,7 +47,7 @@ module CI
|
|
47
47
|
sleep 0.1
|
48
48
|
end
|
49
49
|
end
|
50
|
-
raise LostMaster, "The master worker is still `#{master_status}` after
|
50
|
+
raise LostMaster, "The master worker is still `#{master_status}` after #{timeout} seconds waiting."
|
51
51
|
end
|
52
52
|
|
53
53
|
def workers_count
|
data/lib/ci/queue/version.rb
CHANGED