1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

updated notes

This commit is contained in:
Mike Perham 2019-08-02 10:56:15 -07:00
parent aacaa82430
commit 40cc629dd0
2 changed files with 6 additions and 3 deletions

View file

@ -8,7 +8,8 @@ of Sidekiq. It also drops support for EOL versions of Ruby and Rails.
This release has major breaking changes. Read and test carefully in production.
- ActiveJobs can now use `sidekiq_options` directly to configure Sidekiq
features/internals like the retry subsystem.
features/internals like the retry subsystem. Prefer the native
Sidekiq::Worker APIs as there are features (e.g. unique jobs) which do not work with AJ.
```ruby
class MyJob < ActiveJob::Base
queue_as :myqueue
@ -36,7 +37,8 @@ end
- **Remove the daemonization, logfile and pidfile command line arguments**.
I've [noted for years](https://www.mikeperham.com/2014/09/22/dont-daemonize-your-daemons/)
how modern services should be managed with a proper init system.
Managing services manually is more error-prone, let your operating system do it for you. See the Deployment wiki page for options.
Managing services manually is more error-prone, let your operating system do it for you.
systemd, upstart, and foreman are three options. See the Deployment wiki page for the latest details.
- **Validate proper usage of the `REDIS_PROVIDER` variable.**
This variable is meant to hold the name of the environment
variable which contains your Redis URL, so that you can switch Redis
@ -48,7 +50,7 @@ Both Heroku and ECS now use 30 second shutdown timeout
by default and we want Sidekiq to take advantage of this time. If you
have deployment scripts which depend on the old default timeout, use `-t 8` to
get the old behavior. [#3968]
* **Rails <5** is no longer supported.
* **Rails <5** is no longer supported. Rails 6+ only works in zeitwerk mode.
* **Ruby <2.5** is no longer supported.
* **Redis <4** is no longer supported.

View file

@ -4,6 +4,7 @@ require "sidekiq/util"
require "sidekiq/fetch"
require "sidekiq/job_logger"
require "sidekiq/job_retry"
module Sidekiq
##
# The Processor is a standalone thread which: