Horizon: retry_after and timeout

Created on 6 Dec 2017  Â·  3Comments  Â·  Source: laravel/horizon

Sorry for stupid, Should be timeout in horizon.php be lower that retry_after in queue.php?
What different between horizon.environment.[env].timeout and horizon.waits?

Most helpful comment

Hi,
I just had a very similar question and solved it for me. I've created the issue #255 and posted the solution there, too. Maybe it helps you.

All 3 comments

Hi,
I just had a very similar question and solved it for me. I've created the issue #255 and posted the solution there, too. Maybe it helps you.

Thank you @mvieghofer

Hi @xakzona/@mvieghofer,

After following this thread, my understanding is that…

/config/queue.php > 'connections.redis.retry_after'

…should be larger than…

/config/horizon.php > 'waits.redis:default'

…which should be larger than…

/config/horizon.php > 'environments.[env].supervisor-1.timeout'

Can someone correct me if I'm wrong?

I'd love to definitively understand the queue/horizon timeout "hierarchy"!

Cheers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tillkruss picture tillkruss  Â·  6Comments

sojeda picture sojeda  Â·  5Comments

vesper8 picture vesper8  Â·  5Comments

lasselehtinen picture lasselehtinen  Â·  3Comments

Pustiu picture Pustiu  Â·  5Comments