-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
sleep not working in horizon queue? #1528
Comments
Hey there, thanks for reporting this issue. We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue. Thanks! |
@crynobone latest recurrence output, the problem is still there.
.env (only modified areas)
php -m
php -v
I'm running in docker. |
Horizon Version
5.30.2
Laravel Version
10.10
PHP Version
8.2.22
Redis Driver
PhpRedis
Redis Version
6.0.2
Database Driver & Version
No response
Description
sleep 30s, actually executed in 2s.(many times)
sleep is invalid in horizon, but normal in queue:work.
Steps To Reproduce
TestLongTimeJob.php
TestJob.php
terminal 1, start horizon
terminal 2, dispatch sleep job, simulate long tasks.
test output 1
test output 2
The text was updated successfully, but these errors were encountered: