1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/test
Samwise Wang 6b14010199 Fix the error in worker#perform_in about interval type (#3170)
Situation:
We are using Sidekiq Pro with ActiveSupport.
When I passed a object which is ActiveSupport::TimeWithZone to perform_at,
`TypeError: can't convert ActiveSupport::TimeWithZone into an exact
number` has occurred.

Problem:
Time can't plus a ActiveSupport::TimeWithZone object.

Solution:
We can transform any Time object to float, and use it to compare and
calculate.
2016-09-30 02:31:08 -07:00
..
fixtures Allow dynamic sidekiq-web locale paths, for localized extensions, fixes #1261 2013-10-21 12:07:18 -07:00
config.yml Dont use logger in options parsing, fixes #1335 2013-11-13 21:33:44 -08:00
env_based_config.yml Clean up option processing 2013-01-18 20:57:26 -08:00
fake_env.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
helper.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_actors.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_api.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_cli.rb Fix Ruby warnings, thanks for the reminder @nateberkopec 2016-08-30 13:29:03 -07:00
test_client.rb Handle case of no jobs to push_bulk, fixes #2997 2016-05-31 10:05:16 -07:00
test_exception_handler.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_extensions.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_fetch.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_launcher.rb Add event when a process has a new heartbeat 2016-08-12 12:34:41 -07:00
test_logging.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_manager.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_middleware.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_processor.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_rails.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_redis_connection.rb Symbolize keys in options hash for RedisConnection.create 2016-05-26 12:50:37 +07:00
test_retry.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_retry_exhausted.rb switch syntax for jruby 2016-02-04 10:40:46 -08:00
test_scheduled.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_scheduling.rb Fix the error in worker#perform_in about interval type (#3170) 2016-09-30 02:31:08 -07:00
test_sidekiq.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_testing.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_testing_fake.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_testing_inline.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_util.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_web.rb Add adapter for old syntax, fixes #3139 2016-09-15 07:19:46 -07:00
test_web_helpers.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00