Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nepster's avatar

laravel horizon loses queue after restart

Hello everyone,

Previously, I used my own queue package and stored the list of tasks in the database. This is really cool, as we see the entire queue, understand which tasks are being executed, which ones are completed, and with what status. Most importantly, after a restart, we calmly continue to execute tasks from the queue. (Yes, a task may be interrupted or not work as expected, but for me, the most important thing is not to lose it.)

When I integrated Horizon into my Laravel project, I was surprised to find that after restarting Horizon, it becomes clean. The entire task queue just disappears.

This is a very critical case for me. Can anyone advise how to configure Horizon so that after restarting the project (Redis, Horizon itself, or even the server), the tasks remain in the queue?

0 likes
1 reply

Please or to participate in this conversation.