canvas_sync 0.17.8.beta3 → 0.17.8.beta4
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: bf098a32ea7bd281cac2f9cd5a04940c9081bb01c77de5260dfe7fc76f762b7d
|
4
|
+
data.tar.gz: 45022a8e779828e05e448cae38661051684e1da480c6b1edd16c54304aceedbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cd38061c1f217eb63904b62fc1e2d93baede56d81252f58667a65c83e04e358a76b0907b5817342cf4b1d3c7312a011c8039bf6dcddb4f6d78b11eb42a5b000
|
7
|
+
data.tar.gz: a0679d49f95dfeec40bb15f9416bb1083b8820e716b0ab96dd65840a0323e7b6d4d1e36c6286cf8c87c69b580c260b9f68a13b1b3f30a7140a85df9c1fabd8a1
|
@@ -78,7 +78,7 @@ module CanvasSync
|
|
78
78
|
Batch.cleanup_redis(origin_bid) if pending == 0 && success_ran == 'true'
|
79
79
|
end
|
80
80
|
|
81
|
-
if (Batch.redis{|r| r.scard("BID-#{bid}-pending_callbacks") }) == 0
|
81
|
+
if (Batch.redis {|r| r.scard("BID-#{bid}-pending_callbacks") }) == 0
|
82
82
|
Batch.cleanup_redis(bid)
|
83
83
|
end
|
84
84
|
end
|
@@ -3,8 +3,8 @@ local previously_scheduled = redis.call('HGET', KEYS[1], ARGV[1])
|
|
3
3
|
redis.call('HSET', KEYS[1], ARGV[1], 'true')
|
4
4
|
|
5
5
|
if previously_scheduled ~= 'true' then
|
6
|
-
local pcb_key = KEYS[1]
|
7
|
-
redis.call('SADD', pcb_key, ARGV[1]
|
6
|
+
local pcb_key = KEYS[1] .. '-pending_callbacks'
|
7
|
+
redis.call('SADD', pcb_key, ARGV[1] .. '-finalize')
|
8
8
|
if ARGV[2] == 'true' then
|
9
9
|
redis.call('SADD', pcb_key, ARGV[1])
|
10
10
|
end
|
data/lib/canvas_sync/version.rb
CHANGED