canvas_sync 0.17.8.beta1 → 0.17.8.beta2
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/canvas_sync/job_batches/batch.rb +3 -1
- 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: 0127c30973e69577ddf609684419422e2d0eb2d0c96b630158c93c9f16acaecf
|
|
4
|
+
data.tar.gz: 1ba81dc4c98e33f6ce6377c9d90e14f734820c343cea65f0e30fa94416eb0d1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0094f034d52be11a05de829e07ea76c62db5661bd30bf12aeba4897f2ce5fc2d95a4134c768c35874414414478256cb894d38da82f64e015c863dddb990f716b'
|
|
7
|
+
data.tar.gz: a2809d8663066739193b0507126d78140c235ade034b30f548c254fb0a8df4311ba1250a3c05ecb9a153d2e9983e52b3ba128a6b37370af122471294dd9bd5f1
|
|
@@ -348,7 +348,9 @@ module CanvasSync
|
|
|
348
348
|
|
|
349
349
|
opts = {"bid" => bid, "event" => event}
|
|
350
350
|
should_schedule_batch = callback_args.present? && !callback_params.present?
|
|
351
|
-
|
|
351
|
+
redis do |r|
|
|
352
|
+
already_processed = SCHEDULE_CALLBACK.call(r, [batch_key], [event.to_s, should_schedule_batch, BID_EXPIRE_TTL])
|
|
353
|
+
end
|
|
352
354
|
|
|
353
355
|
return if already_processed == 'true'
|
|
354
356
|
|
data/lib/canvas_sync/version.rb
CHANGED