You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Silence all Solid Queue internal queries (polling, heartbeats,
concurrency maintenance, supervisor maintenance, recurring tasks) while
keeping job execution queries visible.
Move silencing into wrap_in_app_executor with a silence: parameter,
defaulting to true. Pool#post opts out with silence: false so that
queries from actual job execution remain in the logs.
Deprecate silence_polling in favour of silence_queries.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -366,7 +366,7 @@ All the options available to Active Record for multiple databases can be used he
366
366
367
367
### Other configuration settings
368
368
369
-
_Note_: The settings in this section should be set in your `config/application.rb` or your environment config like this: `config.solid_queue.silence_polling = true`
369
+
_Note_: The settings in this section should be set in your `config/application.rb` or your environment config like this: `config.solid_queue.silence_queries = true`
370
370
371
371
There are several settings that control how Solid Queue works that you can set as well:
372
372
- `logger`: the logger you want Solid Queue to use. Defaults to the app logger.
@@ -383,7 +383,7 @@ There are several settings that control how Solid Queue works that you can set a
383
383
- `process_heartbeat_interval`: the heartbeat interval that all processes will follow—defaults to 60 seconds.
384
384
- `process_alive_threshold`: how long to wait until a process is considered dead after its last heartbeat—defaults to 5 minutes.
385
385
- `shutdown_timeout`: time the supervisor will wait since it sent the `TERM` signal to its supervised processes before sending a `QUIT` version to them requesting immediate termination—defaults to 5 seconds.
386
-
- `silence_polling`: whether to silence Active Record logs emitted when polling for both workers and dispatchers—defaults to `true`.
386
+
- `silence_queries`: whether to silence Active Record logs emitted by Solid Queue's internal queries (polling, heartbeats, maintenance, etc.)—defaults to `true`. Queries from job execution are not silenced.
387
387
- `supervisor_pidfile`: path to a pidfile that the supervisor will create when booting to prevent running more than one supervisor in the same host, or in case you want to use it for a health check. It's `nil` by default.
388
388
- `preserve_finished_jobs`: whether to keep finished jobs in the `solid_queue_jobs` table—defaults to `true`.
389
389
- `clear_finished_jobs_after`: period to keep finished jobs around, in case `preserve_finished_jobs` is true — defaults to 1 day. When installing Solid Queue, [a recurring job](#recurring-tasks) is automatically configured to clear finished jobs every hour on the 12th minute in batches. You can edit the `recurring.yml` configuration to change this as you see fit.
0 commit comments