discourse/app/jobs
David Taylor 8963f1af30
FEATURE: Optional detailed performance logging for Sidekiq jobs (#7091)
By default, this does nothing. Two environment variables are available:

- `DISCOURSE_LOG_SIDEKIQ`

  Set to `"1"` to enable logging. This will log all completed jobs to `log/rails/sidekiq.log`, along with various db/redis/network statistics. This is useful to track down poorly performing jobs.

- `DISCOURSE_LOG_SIDEKIQ_INTERVAL`

  (seconds) Check running jobs periodically, and log their current duration. They will appear in the logs with `status:pending`. This is useful to track down jobs which take a long time, then crash sidekiq before completing.
2019-03-05 11:19:11 +00:00
..
concerns PERF: Restrict number of skipped email log for `Jobs::UserEmail`. 2018-08-21 11:14:43 +08:00
onceoff FIX: Add onceoff job to remove double quotes from s3 etags 2019-02-14 05:19:41 +05:30
regular Aadd 'secondary_emails' field in users export 2019-02-27 10:12:20 +01:00
scheduled FIX: Respect min_flags_staff_visibility for new flags too 2019-01-25 11:27:43 -05:00
base.rb FEATURE: Optional detailed performance logging for Sidekiq jobs (#7091) 2019-03-05 11:19:11 +00:00
onceoff.rb Prefer `create` over `create!` when not checking for response. 2018-09-19 18:22:54 +08:00