canvas_sync 0.17.8.beta2 → 0.17.8.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_sync/job_batches/batch.rb +2 -2
- data/lib/canvas_sync/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: 47913d27a72537ba9c33f5b282efd811dc0fb23d0114dabfdec52efa3eb062d0
|
4
|
+
data.tar.gz: ee5a090cfd2226868fc88324e767d7c61a6256d80ed0af35dd04e7967d76b602
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46fcee4d05468452502ffb1660962e520e34f458f4d374c4d9e974c67364db574a7b3577f65016ddd77727e3131a97232466eda98b8855db11c164517df42bbb
|
7
|
+
data.tar.gz: 2fb317efd646549443680d8e9df41c2c2e228d4b8ea3a9d6e65f9be270b918d5423995571aaec72cb4616e083cc510cf5b0a63b0f3637d96e18c26ee7f7dd294
|
@@ -348,8 +348,8 @@ module CanvasSync
|
|
348
348
|
|
349
349
|
opts = {"bid" => bid, "event" => event}
|
350
350
|
should_schedule_batch = callback_args.present? && !callback_params.present?
|
351
|
-
redis do |r|
|
352
|
-
|
351
|
+
already_processed = redis do |r|
|
352
|
+
SCHEDULE_CALLBACK.call(r, [batch_key], [event.to_s, should_schedule_batch, BID_EXPIRE_TTL])
|
353
353
|
end
|
354
354
|
|
355
355
|
return if already_processed == 'true'
|
data/lib/canvas_sync/version.rb
CHANGED