foreman-tasks-core 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreman_tasks_core/runner/dispatcher.rb +1 -1
- data/lib/foreman_tasks_core/version.rb +1 -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: 947035c7777e08d6574e692c1407945c538192fa08014485c3fc4ed07edc07a6
|
4
|
+
data.tar.gz: 742ea2a8ac2d09eca42af4ed8709c5aa1b483f789e1d0dc6b73fcc75551a36e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3932f2e68563bb9135c59e9a8a0de3545d4eba2a40c589cee7c8126b547ff9838836fba555bcaab9244855aa806a756e82b5140b01b69778811fa13982a08749
|
7
|
+
data.tar.gz: 2ad6a6f7f82a78a33e96c69c4980c0e79c2ccb23570f3aad03a592194e569dc4cb62df45b033c139f95998be6d5302c19cfa70e325c116158c653a4591a0afcf
|
@@ -172,7 +172,7 @@ module ForemanTasksCore
|
|
172
172
|
return unless runner_actor
|
173
173
|
@logger.debug("closing session for command [#{runner_id}]," \
|
174
174
|
"#{@runner_actors.size} actors left ")
|
175
|
-
runner_actor.tell([:start_termination, Concurrent.future])
|
175
|
+
runner_actor.tell([:start_termination, (defined?(Concurrent::Promises) ? Concurrent::Promises.resolvable_future : Concurrent.future)])
|
176
176
|
ensure
|
177
177
|
@runner_suspended_actions.delete(runner_id)
|
178
178
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-tasks-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'Common code used both at Forman and Foreman proxy regarding tasks
|
14
14
|
|