mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fix missing rfc3339 method
This commit is contained in:
parent
f625d8e9d6
commit
6491c56ed8
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
require "sidekiq"
|
||||
require "date"
|
||||
require "time"
|
||||
|
||||
# This file is designed to be required within the user's
|
||||
# deployment script; it should need a bare minimum of dependencies.
|
||||
|
@ -32,7 +32,7 @@ module Sidekiq
|
|||
key = "#{datecode}-marks"
|
||||
@pool.with do |c|
|
||||
c.pipelined do |pipe|
|
||||
pipe.hsetnx(key, floor.rfc3339, label)
|
||||
pipe.hsetnx(key, floor.iso8601, label)
|
||||
pipe.expire(key, MARK_TTL)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue