bmc-daemon-lib 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bmc-daemon-lib.gemspec +1 -1
- data/lib/bmc-daemon-lib/worker.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33d44b07f1b2e61afc977f59148fc4b12cc43011
|
4
|
+
data.tar.gz: 8cb8de3d2e042ba3f1278bb3dfabef1b0812df04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e531b1a4fad486d22be39245406dd72bba75e1b6dc71367b0942a1b171c9416a4d742a92e669e5b8bcb7eaa9484c4dffa7f90bf62f22eb6a1e2ef13675a00beb
|
7
|
+
data.tar.gz: 483137418291dc509e3ee417728740b006aca63797f03334e5aa715c0443413c92d4bde878d76f31da9566caefa0c28feb0543fe6462fbbc668f8c3d29194254
|
data/bmc-daemon-lib.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module BmcDaemonLib
|
2
|
-
class
|
2
|
+
class WorkerBase
|
3
3
|
include LoggerHelper
|
4
4
|
|
5
5
|
# Statuses
|
@@ -54,12 +54,12 @@ module BmcDaemonLib
|
|
54
54
|
def worker_sleep seconds
|
55
55
|
return if seconds.nil? || seconds.to_f == 0.0
|
56
56
|
worker_status STATUS_SLEEPING
|
57
|
-
log_debug "worker_sleep: #{seconds}"
|
58
|
-
sleep
|
57
|
+
# log_debug "worker_sleep: #{seconds}"
|
58
|
+
sleep(seconds)
|
59
59
|
end
|
60
60
|
|
61
61
|
def start_loop
|
62
|
-
log_info "
|
62
|
+
log_info "worker loop starting", @config
|
63
63
|
loop do
|
64
64
|
begin
|
65
65
|
# Announce we're waiting for work
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bmc-daemon-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno MEDICI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|