All Versions
175
Latest Version
Avg Release Cycle
63 days
Latest Release
-

Changelog History
Page 16

  • v2.1.1 Changes

    • โฑ Handle networking errors causing the scheduler thread to die [#309]
    • ๐ŸŒฒ Rework exception handling to log all Processor and actor death (#325, subelsky)
    • ๐Ÿ‘ท Clone arguments when calling worker so modifications are discarded. (#265, hakanensari)
  • v2.1.0 Changes

    • Tune Celluloid to no longer run message processing within a Fiber. This gives us a full Thread stack and also lowers Sidekiq's memory usage.
    • โž• Add pagination within the Web UI [#253]
    • Specify which Redis driver to use: hiredis or ruby (default)
    • โœ‚ Remove FailureJobs and UniqueJobs, which were optional middleware that I don't want to support in core. [#302]
  • v2.0.3 Changes

    • ๐Ÿ›  Fix sidekiq-web's navbar on mobile devices and windows under 980px (ezkl)
    • ๐Ÿ›  Fix Capistrano task for first deploys [#259]
    • ๐Ÿ‘ท Worker subclasses now properly inherit sidekiq_options set in their superclass [#221]
    • โž• Add random jitter to scheduler to spread polls across POLL_INTERVAL window. [#247]
    • ๐Ÿ‘€ Sidekiq has a new mailing list: [email protected] See README.
  • v2.0.2 Changes

    • ๐Ÿ›  Fix "Retry Now" button on individual retry page. (ezkl)
  • v2.0.1 Changes

    • โž• Add "Clear Workers" button to UI. If you kill -9 Sidekiq, the workers set can fill up with stale entries.
    • โšก๏ธ Update sidekiq/testing to support new scheduled jobs API:
       require 'sidekiq/testing'
       DirectWorker.perform_in(10.seconds, 1, 2)
       assert_equal 1, DirectWorker.jobs.size
       assert_in_delta 10.seconds.from_now.to_f, DirectWorker.jobs.last['at'], 0.01
    
  • v2.0.0 Changes

    • โฑ SCHEDULED JOBS!

    You can now use perform_at and perform_in to schedule jobs to run at arbitrary points in the future, like so:

      SomeWorker.perform_in(5.days, 'bob', 13)
      SomeWorker.perform_at(5.days.from_now, 'bob', 13)
    

    It also works with the delay extensions:

      UserMailer.delay_for(5.days).send_welcome_email(user.id)
    

    ๐Ÿ‘ท The time is approximately when the job will be placed on the queue; it is not guaranteed to run at precisely at that moment in time.

    ๐Ÿ‘ท This functionality is meant for one-off, arbitrary jobs. I still recommend whenever or clockwork if you want cron-like, โฑ recurring jobs. See examples/scheduling.rb

    โฑ I want to specially thank @yabawock for his work on sidekiq-scheduler. His extension for Sidekiq 1.x filled an obvious functional gap that I now think is ๐Ÿ‘‰ useful enough to implement in Sidekiq proper.

    • ๐Ÿ›  Fixed issues due to Redis 3.x API changes. Sidekiq now requires the Redis 3.x client.
    • โœ… Inline testing now round trips arguments through JSON to catch serialization issues (betelgeuse)
  • v1.2.1 Changes

    • ๐Ÿ‘ท Sidekiq::Worker now has access to Sidekiq's standard logger
    • ๐Ÿ›  Fix issue with non-StandardErrors leading to Processor exhaustion
    • ๐Ÿ›  Fix issue with Fetcher slowing Sidekiq shutdown
    • ๐Ÿšฆ Print backtraces for all threads upon TTIN signal [#183]
    • ๐Ÿ’ป Overhaul retries Web UI with new index page and bulk operations [#184]
  • v1.2.0 Changes

    • Full or partial error backtraces can optionally be stored as part of the retry for display in the web UI if you aren't using an error service. [#155]
    class Worker
      include Sidekiq::Worker
      sidekiq_options :backtrace => [true || 10]
    end
    
    • โž• Add timeout option to kill a worker after N seconds (blackgold9)
    class HangingWorker
      include Sidekiq::Worker
      sidekiq_options :timeout => 600
      def perform
        # will be killed if it takes longer than 10 minutes
      end
    end
    
    • ๐Ÿ›  Fix delayed extensions not available in workers [#152]
    • โœ… In test environments add the #drain class method to workers. This method executes all previously queued jobs. (panthomakos)
    • โœ… Sidekiq workers can be run inline during tests, just require 'sidekiq/testing/inline' (panthomakos)
    • ๐Ÿ’ป Queues can now be deleted from the Sidekiq web UI [#154]
    • ๐Ÿ›  Fix unnecessary shutdown delay due to Retry Poller [#174]
  • v1.1.4 Changes

    • โž• Add 24 hr expiry for basic keys set in Redis, to avoid any possible leaking.
    • ๐Ÿ‘ท Only register workers in Redis while working, to avoid lingering workers [#156]
    • Speed up shutdown significantly.
  • v1.1.3 Changes

    • ๐Ÿ‘ Better network error handling when fetching jobs from Redis. Sidekiq will retry once per second until it can re-establish a connection. (ryanlecompte)
    • capistrano recipe now uses bundle_cmd if set [#147]
    • ๐Ÿ– handle multi_json API changes (sferik)