resque-igo 1.12.4 → 1.12.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/resque.rb +1 -2
- data/lib/resque/version.rb +1 -1
- metadata +3 -3
data/lib/resque.rb
CHANGED
@@ -182,8 +182,7 @@ module Resque
|
|
182
182
|
query['delay_until'] = { '$not' => { '$gt' => Time.new}}
|
183
183
|
end
|
184
184
|
#sorting will result in significant performance penalties for large queues, you have been warned.
|
185
|
-
|
186
|
-
item = mongo[queue].find_and_modify(:query => query, :remove => true) #, :sort => [[:_id, :asc]] )
|
185
|
+
item = mongo[queue].find_and_modify(:query => query, :remove => true, :sort => [[:_id, :asc]] )
|
187
186
|
rescue Mongo::OperationFailure => e
|
188
187
|
return nil if e.message =~ /No matching object/
|
189
188
|
raise e
|
data/lib/resque/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-igo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 12
|
9
|
-
-
|
10
|
-
version: 1.12.
|
9
|
+
- 5
|
10
|
+
version: 1.12.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nathan D Acuff
|