fbe 0.0.83 → 0.0.85
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fbe/iterate.rb +4 -0
- data/lib/fbe.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: f75e0379657e041287f6d485353fbbbcce1636e1552f1e0c74bda9b49edf0f7f
|
4
|
+
data.tar.gz: c247750a225973f8cafae4cfff8258331d559e61e854cb0706af395e28c1fc14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56c469eb86233927f480f4d48351651f6f7ac8caeebb7a313269511c209e06fd605552fe581c23152b0af05c1cb51dce309ea193425bca673307b4d4b331cdc7
|
7
|
+
data.tar.gz: dd96a0e7430e6749aa2c9f16d38ea2b6edafbbc39476d1165f7d55ab50a6a1265ec5a0e2cbfe0db321c0a84365e0090c312c8a47fef1956e3bdcddd57c37c9ba
|
data/lib/fbe/iterate.rb
CHANGED
@@ -186,6 +186,10 @@ class Fbe::Iterate
|
|
186
186
|
@loog.debug("All #{repos.size} repos restarted, quitting after #{start.ago}")
|
187
187
|
break
|
188
188
|
end
|
189
|
+
if Time.now - start > timeout
|
190
|
+
$loog.info("We are iterating for #{start.ago} already, time to give up")
|
191
|
+
break
|
192
|
+
end
|
189
193
|
end
|
190
194
|
@loog.debug("Finished scanning #{repos.size} repos in #{start.ago}: #{seen.map { |k, v| "#{k}:#{v}" }.join(', ')}")
|
191
195
|
end
|
data/lib/fbe.rb
CHANGED