canvas_sync 0.22.0.beta2 → 0.22.0.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: f694edf9c88f7441ccdb66d6a58f4ed31701c56682c70af20f5e7fbaf2c829b3
4
- data.tar.gz: a3438e037e06694ce521d289cfab8598b9d5fc8c76e2bc553d938f1515287a8e
3
+ metadata.gz: cdb0f4f154277e78fca3f6f28025151d95a252aa08f09d9651d55b8742888475
4
+ data.tar.gz: 2192f247306c0749f3ca6162d384c38f3d848bf7dc0b4f0cfdfea465adc759b9
5
5
  SHA512:
6
- metadata.gz: 89f0c9f0dc1a0cca1d74771085712e6f6e6a5acf75979beaa06bd2d2e0db2092769547abb8debee12bd98e025bc1b34ef4ebfb75bf991b8bc7ed9ee752d19196
7
- data.tar.gz: d7095273e6e299ee1b1d1e6089e451c6a3dd86e37e87e39401c112e91754c708243e226ae7116a768ad868bb54f4ce3aeb9b10d3736b179c6c2e2a67d6e1edf2
6
+ metadata.gz: 84b414b63d902a717697240ad2998bde8d6d5399f90cb9cf533257b7c62728df71ae7e759a33f361df81801631e13f55f75361d83133185f8b8be40ec51aa8ef
7
+ data.tar.gz: 8a73820fe6951e337e21bf0eccca75210b0a34da36da0a1306d00ed92cc0ae3e6ec209f01893b2774b396b29d88fc2b3232ed3db705a67aec40508a6b8e6d2df
@@ -13,7 +13,7 @@ module CanvasSync::JobUniqueness
13
13
  end
14
14
 
15
15
  def schedule_in
16
- lock_context.config[:reschedule_in] || 5
16
+ lock_context.config[:reschedule_in] || 60
17
17
  end
18
18
  end
19
19
  end
@@ -62,12 +62,15 @@ module CanvasSync::JobUniqueness
62
62
  })
63
63
  end
64
64
 
65
+ CanvasSync.logger.debug("Wrapped job in Locking Batch #{batch.bid} for #{key}")
66
+
65
67
  batch.jobs do
66
68
  return blk.call
67
69
  end
68
70
  end
69
71
 
70
72
  def self.internal_batch_callback(batch_status, opts)
73
+ CanvasSync.logger.debug("Received Batch(#{batch_status.bid}) callback for #{opts[:lock_strategy]}:#{opts[:lock_key]} - #{opts[:event]}")
71
74
  strategy_class = opts[:lock_strategy].constantize
72
75
  lock_context = LockContext.from_serialized(opts[:lock_context])
73
76
  strategy = strategy_class.new(lock_context)
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.22.0.beta2".freeze
2
+ VERSION = "0.22.0.beta4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0.beta2
4
+ version: 0.22.0.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev