diff --git a/README.md b/README.md index db03e4e9..4d08207b 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ There are several settings that control how Solid Queue works that you can set a - `process_heartbeat_interval`: the heartbeat interval that all processes will follow—defaults to 60 seconds. - `process_alive_threshold`: how long to wait until a process is considered dead after its last heartbeat—defaults to 5 minutes. - `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. -- `silence_polling`: whether to silence Active Record logs emitted when polling for both workers and dispatchers—defaults to `false`. +- `silence_polling`: whether to silence Active Record logs emitted when polling for both workers and dispatchers—defaults to `true`. - `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. - `preserve_finished_jobs`: whether to keep finished jobs in the `solid_queue_jobs` table—defaults to `true`. - `clear_finished_jobs_after`: period to keep finished jobs around, in case `preserve_finished_jobs` is true—defaults to 1 day. **Note:** Right now, there's no automatic cleanup of finished jobs. You'd need to do this by periodically invoking `SolidQueue::Job.clear_finished_in_batches`, but this will happen automatically in the near future. diff --git a/lib/solid_queue.rb b/lib/solid_queue.rb index 69243e84..27a294d2 100644 --- a/lib/solid_queue.rb +++ b/lib/solid_queue.rb @@ -33,7 +33,7 @@ module SolidQueue mattr_accessor :shutdown_timeout, default: 5.seconds - mattr_accessor :silence_polling, default: false + mattr_accessor :silence_polling, default: true mattr_accessor :supervisor_pidfile mattr_accessor :supervisor, default: false