exercism-config 0.79.0 → 0.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/exercism/tooling_job.rb +2 -2
- data/lib/exercism_config/version.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: 9028a8ef38a64c4fbc99ebf5830082b4d01eb5fcd57f3ba3c71be173abacb50c
|
4
|
+
data.tar.gz: 704f3be682e8151296104648540bb0153fe5725449593d2702c807ea41dbc3b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e688f9269fd4408fb898d9b516783a4cac653a5729bd702bbeccf84e4bec5e239a915c8ca5acd68ca0dc43dc204b8f955efa18583ac1845b68f07952ff5985c
|
7
|
+
data.tar.gz: 5c8340deea246d5588a82a167c33f64219590d7d1168b4839ceec89486109666db6683018e74294bb7d52ca4fd678fb7292fbec5adfe11b24f260c59182e9acc
|
data/lib/exercism/tooling_job.rb
CHANGED
@@ -18,7 +18,7 @@ module Exercism
|
|
18
18
|
created_at: Time.now.utc.to_i
|
19
19
|
)
|
20
20
|
|
21
|
-
queue_key = run_in_background ?
|
21
|
+
queue_key = run_in_background ? key_for_queued_for_background_processing : key_for_queued
|
22
22
|
redis = Exercism.redis_tooling_client
|
23
23
|
redis.multi do
|
24
24
|
redis.set(
|
@@ -167,7 +167,7 @@ module Exercism
|
|
167
167
|
Exercism.config.aws_tooling_jobs_bucket
|
168
168
|
end
|
169
169
|
|
170
|
-
%w[queued
|
170
|
+
%w[queued queued_for_background_processing locked executed cancelled].each do |key|
|
171
171
|
ToolingJob.singleton_class.class_eval do
|
172
172
|
define_method "key_for_#{key}" do
|
173
173
|
Exercism.env.production? ? key : "#{Exercism.env}:#{key}"
|