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
*`DYNAMIC_SCHEDULE` - Enables [dynamic scheduling](#dynamic-schedules) if non-empty (default `false`)
136
+
*`INITIALIZER_PATH` - Path to a Ruby file that will be loaded *before* requiring `resque` and `resque/scheduler` (default empty).
141
137
*`LOGFILE` - Log file name (default empty, meaning `$stdout`)
142
-
*`LOGFORMAT` - Log output format to use (either `'text'`, `'json'` or `'logfmt'`,
143
-
default `'text'`)
138
+
*`LOGFORMAT` - Log output format to use (either `'text'`, `'json'` or `'logfmt'`, default `'text'`)
144
139
*`PIDFILE` - If non-empty, write process PID to file (default empty)
145
-
*`QUIET` - Silence most output if non-empty (equivalent to a level of
146
-
`MonoLogger::FATAL`, default `false`)
147
-
*`VERBOSE` - Maximize log verbosity if non-empty (equivalent to a level
148
-
of `MonoLogger::DEBUG`, default `false`)
149
-
*`ENABLE_DELAYED_REQUEUE_BATCH` - Enable batched delayed job enqueueing per second (default `false`) - [See section below on consequences](#batched-delayed-job-and-resque-enqueue-hooks)
150
-
*`DELAYED_REQUEUE_BATCH_SIZE` - Set the delayed job batch size if `ENABLE_DELAYED_REQUEUE_BATCH` is enabled (default `100`). If `<= 1`, this disables batching.
140
+
*`QUIET` - Silence most output if non-empty (equivalent to a level of `MonoLogger::FATAL`, default `false`)
141
+
*`RAILS_ENV` - Environment to use in procline (`$0`) (default empty)
142
+
*`RESQUE_SCHEDULER_INTERVAL` - Interval in seconds for checking if a scheduled job must run (coerced with `Kernel#Float()`) (default `5`)
143
+
*`VERBOSE` - Maximize log verbosity if non-empty (equivalent to a level of `MonoLogger::DEBUG`, default `false`)
151
144
152
145
### Resque Pool integration
153
146
@@ -758,8 +751,10 @@ This table explains the version requirements for rufus-scheduler
758
751
759
752
##### Batched delayed job and resque enqueue hooks
760
753
761
-
Batching delayed job enqueueing can speed up when per-second job counts grows,
762
-
avoiding situations that may cause delayed enqueues to fall behind. This batching wraps enqueues in a `multi` pipeline, making far fewer roundtrips to the server.
754
+
Batching delayed job queuing can speed up when per-second job counts grows,
755
+
avoiding situations that may cause delayed enqueues to fall behind. This
756
+
batching wraps enqueues in a `multi` pipeline, making far fewer roundtrips to
757
+
the server.
763
758
764
759
However, in `redis` gem `>= 4.0`, any operations to redis within the `multi`
765
760
block must use the multi handle so that the actions are captured. Resque's hooks
0 commit comments