You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When register_reaper_process is called, RedisClient::CommandBuilder#generate is called and that method is like such:
def generate(args, kwargs = nil)
# args = ["set", "uniquejobs:reaper", 1699548261, {:nx=>true, :ex=>612}]
command = args.flat_map do |element|
case element
when Hash
element.flatten # so here {:nx=>true, :ex=>612} becomes [:nx, true, :ex, 612]
else
element
end
end
...
command.map! do |element|
case element
when String
element
when Symbol
element.name
when Integer, Float
element.to_s
else
raise TypeError, "Unsupported command argument type: #{element.class}". <---- Exception is raised Unsupported command argument type: TrueClass. It processes, the true from {nx: true, ...} that was flattened
end
end
The text was updated successfully, but these errors were encountered:
Describe the bug
Sidekiq crash on startup
Commenting out this line in the initializer prevent the error:
Additional context
From my understanding:
When register_reaper_process is called, RedisClient::CommandBuilder#generate is called and that method is like such:
The text was updated successfully, but these errors were encountered: