Skip to content

Commit

Permalink
Ruby 1.8.6 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
dacort authored and bvandenbos committed May 19, 2010
1 parent 8a277f9 commit 057e16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque_scheduler.rb
Expand Up @@ -64,7 +64,7 @@ def delayed_push(timestamp, item)

# Returns an array of timestamps based on start and count
def delayed_queue_peek(start, count)
redis.zrange(:delayed_queue_schedule, start, start+count).collect(&:to_i)
redis.zrange(:delayed_queue_schedule, start, start+count).collect{|x| x.to_i}
end

# Returns the size of the delayed queue schedule
Expand Down

0 comments on commit 057e16d

Please sign in to comment.