Did you ever got an answer? I'm having the exact same issue.
Multiple sites on Forge using Redis queues
Hi, I have multiple sites on one Forge deployed server. On two of them I'm using queues to dispatch some tasks. I've noticed in the logfile that sometimes site A wants to run the tasks of site B. Of course this will result in an error. I think I misconfigured the queue in Laravel and/or Forge, but I cannot find any information on how to do it. I have a feeling that the "default" should be site specific.
This is my Forge setup (on both sites):
Connection: redis
Queue: default
This is the config/queue.php setup:
'connections' => [
'redis' => [
'driver' => 'redis',
'connection' => 'default',
'queue' => 'default',
'retry_after' => 90,
],
],
Hope someone can help me out!
I think the 'queue' on both configurations should be named uniquely. But since these sites are both live I just want to be sure.
Please or to participate in this conversation.