crono_trigger 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/crono_trigger/version.rb +1 -1
- data/lib/crono_trigger/worker.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa5ce10c898d430d072b1a8617b35388228cb76db4a988ab8de6aa53f8315985
|
4
|
+
data.tar.gz: 94fd599e1a3771fe4e04395a4ebffcf35c8d1df67d8c1d40762403a2203089ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8f22e3e9a869943f18fa8309fe66a886713092026fe6655076a6962e039216c3142572f444a84e0f3fb504dce1e9921e2299508d803eaf4cd1ff447092b831b
|
7
|
+
data.tar.gz: 2ebbdd8c5da440e162a81780cae9adad698871f7b79c6028b6083a55e64bd0df2ecb36317afd88b741166591c99828e1bc23ee1a80cae47021f527edf3b7d029
|
data/lib/crono_trigger/worker.rb
CHANGED
@@ -38,7 +38,6 @@ module CronoTrigger
|
|
38
38
|
@heartbeat_thread = run_heartbeat_thread
|
39
39
|
@signal_fetcn_thread = run_signal_fetch_thread
|
40
40
|
@monitor_thread = run_monitor_thread
|
41
|
-
@worker_count_updater_thread = run_worker_count_updater_thread
|
42
41
|
|
43
42
|
polling_thread_count = CronoTrigger.config.polling_thread || [@model_names.size, Concurrent.processor_count].min
|
44
43
|
# Assign local variable for Signal handling
|
@@ -46,6 +45,8 @@ module CronoTrigger
|
|
46
45
|
@polling_threads = polling_threads
|
47
46
|
@polling_threads.each(&:run)
|
48
47
|
|
48
|
+
@worker_count_updater_thread = run_worker_count_updater_thread
|
49
|
+
|
49
50
|
ServerEngine::SignalThread.new do |st|
|
50
51
|
st.trap(:TSTP) do
|
51
52
|
@logger.info("[worker_id:#{@crono_trigger_worker_id}] Transit to quiet mode")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crono_trigger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joker1007
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chrono
|