switchman-inst-jobs 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99fc38ce3e38711c3ebb2d35f6e6eccb62f5d9388e6fbec9b9ba40830b3b4df7
|
4
|
+
data.tar.gz: 12501153af5a11a2c4d958cbe60d2185d684d92794081b1bbffe6f3394a6b257
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 236773fe9bc45914fc1e78fe45ba8e16793259a93c2e58fe3a6603d04f03d4a748c8fd51171bbcb1440dd39e56a5b016bf9864668f540b8322f2b7f354ae68fa
|
7
|
+
data.tar.gz: 42d222e8d2660833010b731295cf76984e5e8cff9097c911260ab4ea0491771088685f73c0a9e05d335a38af79efdf34ad71296f7017297cdd9d382f8163f2e9
|
@@ -29,15 +29,15 @@ module SwitchmanInstJobs
|
|
29
29
|
else
|
30
30
|
::Switchman::Shard.default.activate do
|
31
31
|
current_shard = ::Switchman::Shard.lookup(current_shard.id)
|
32
|
-
|
32
|
+
end
|
33
|
+
current_job_shard = current_shard.delayed_jobs_shard
|
33
34
|
|
34
|
-
|
35
|
-
|
36
|
-
|
35
|
+
if (options[:singleton] || options[:strand]) && current_shard.block_stranded
|
36
|
+
enqueue_options[:next_in_strand] = false
|
37
|
+
end
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
end
|
39
|
+
current_job_shard.activate(:delayed_jobs) do
|
40
|
+
enqueue_job.call
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: switchman-inst-jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Petty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inst-jobs
|