1
0
Fork 0
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:
Mike Perham 2022-08-17 10:15:45 -07:00
parent f625d8e9d6
commit 6491c56ed8

View file

@ -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