Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dee1d4f

Browse files
NiekNijlandtaylorotwell
andauthored
[12.x] add warning about Horizon timeout killing long jobs during auto-scaling (#10792)
* docs(horizon): add warning about Horizon timeout killing long jobs during auto scaling * Update horizon.md --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent 9ca7cb2 commit dee1d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎horizon.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Similarly, you can set a `timeout` value at the supervisor level, which specifie
200200
```
201201

202202
> [!WARNING]
203-
> The `timeout` value should always be at least a few seconds shorter than the `retry_after` value defined in your `config/queue.php` configuration file. Otherwise, your jobs may be processed twice.
203+
> When using the `auto` balancing strategy, Horizon will consider in-progress workers as "hanging" and force-kill them after the Horizon timeout during scale down. Always ensure the Horizon timeout is greater than any job-level timeout, otherwise jobs may be terminated mid-execution. In addition, the `timeout` value should always be at least a few seconds shorter than the `retry_after` value defined in your `config/queue.php` configuration file. Otherwise, your jobs may be processed twice.
204204
205205
<a name="job-backoff"></a>
206206
### Job Backoff

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /