mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add Bignum to the list of classes which cannot be duped.
This commit is contained in:
parent
cbab748657
commit
61dc13b1db
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
# Singleton classes are not clonable.
|
||||
SINGLETON_CLASSES = [ NilClass, TrueClass, FalseClass, Symbol, Fixnum, Float ].freeze
|
||||
SINGLETON_CLASSES = [ NilClass, TrueClass, FalseClass, Symbol, Fixnum, Float, Bignum ].freeze
|
||||
|
||||
# Clone the arguments passed to the worker so that if
|
||||
# the message fails, what is pushed back onto Redis hasn't
|
||||
|
|
Loading…
Add table
Reference in a new issue