tasque 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasque/processor.rb +1 -1
- data/lib/tasque/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4aba7131f1ec84903f66f085e00a640fd5d7af267c9bf0670daf1bb40c0c5e0b
|
4
|
+
data.tar.gz: 4444b0c4143f77d10afeecfe956f2b204cf1ce6b1c9656c8137aee53e0766762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21239d09320e7a5f1028aca4f422b510a6ced807521d2c620e598150e30e43129eb59767583f804d0c9bcf17bb88b888679bd8133f08a12655759d33f0e9c128
|
7
|
+
data.tar.gz: aa4db0cabc1088a89135705f84ce8395baced4caa1fb33b37e0ea1e5b321c2acf5ed987a75a4ae85557bde1825d2d5c702cc470a94025de9c2b8ad8c8b836d2b
|
data/lib/tasque/processor.rb
CHANGED
@@ -39,7 +39,7 @@ module Tasque
|
|
39
39
|
has_task = Tasque::Task.fetch(type) do |task|
|
40
40
|
@handlers[type.to_sym].call(task)
|
41
41
|
end
|
42
|
-
rescue ActiveRecord::Deadlocked, ActiveRecord::LockWaitTimeout
|
42
|
+
rescue ActiveRecord::Deadlocked, ActiveRecord::LockWaitTimeout, RedisMutex::LockError
|
43
43
|
retry
|
44
44
|
end while has_task
|
45
45
|
end
|
data/lib/tasque/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tasque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuri Gomozov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|