mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
more docs
This commit is contained in:
parent
4b8a8bd3ae
commit
9186373b25
2 changed files with 7 additions and 6 deletions
|
@ -5,9 +5,9 @@
|
|||
HEAD
|
||||
---------
|
||||
|
||||
- **Integrate with systemd's watchdog and notification features** [#4488]
|
||||
Set `Type=notify` in [sidekiq.service](https://github.com/mperham/sidekiq/blob/4b8a8bd3ae42f6e48ae1fdaf95ed7d7af18ed8bb/examples/systemd/sidekiq.service#L30-L39). The integration works automatically.
|
||||
- Use `setTimeout` rather than `setInterval` to avoid thundering herd [#4480]
|
||||
- Integrate with systemd's watchdog and notification features [#4488]
|
||||
See `Type=notify` in [systemd.service](https://www.freedesktop.org/software/systemd/man/systemd.service.html#Options). The integration works automatically.
|
||||
- Fix edge case where a job can be pushed without a queue.
|
||||
- Check RAILS_ENV before RACK_ENV [#4493]
|
||||
- Add Lithuanian locale [#4476]
|
||||
|
|
|
@ -28,14 +28,15 @@ After=syslog.target network.target
|
|||
#
|
||||
[Service]
|
||||
#
|
||||
# WARNING WARNING WARNING
|
||||
# !!!! !!!! !!!!
|
||||
#
|
||||
# As of v6.0.6, Sidekiq automatically supports systemd's `notify` service
|
||||
# monitoring. If you are using an earlier version, change this to `Type=simple`.
|
||||
# As of v6.0.6, Sidekiq automatically supports systemd's `Type=notify` and watchdog service
|
||||
# monitoring. If you are using an earlier version of Sidekiq, change this to `Type=simple`.
|
||||
#
|
||||
# WARNING WARNING WARNING
|
||||
# !!!! !!!! !!!!
|
||||
#
|
||||
Type=notify
|
||||
# If your Sidekiq process locks up, systemd's watchdog will restart it within seconds.
|
||||
WatchdogSec=5
|
||||
|
||||
WorkingDirectory=/opt/myapp/current
|
||||
|
|
Loading…
Add table
Reference in a new issue