В horizon.php line 42
:
/*
|--------------------------------------------------------------------------
| Horizon Redis Connection
|--------------------------------------------------------------------------
|
| This is the name of the Redis connection where Horizon will store the
| meta information required for it to function. It includes the list
| of supervisors, failed jobs, job metrics, and other information.
|
*/
'use' => 'connectionA',
это используется для сохранения всех метаданных для работы, и, скажем, у меня есть 2 соединения, которые являются соединением A и B, как мне сохранить метаданные в соединении А и соединение Б? из этой конфигурации кажется, что можно сохранить все метаданные только в одном соединении. Как мне отделить его для каждого соединения?
Чего я хочу достичь:
SwiftDoJob::dispatch($logId)->onConnection('connectionA')->onQueue('queueA'); // how to make this will save the metadata to connection A?
SwiftDoJob::dispatch($logId)->onConnection('connectionB')->onQueue('queueB'); // how to make this will save the metadata to connection B?