#Specify a DB connection (2 different mysql connections) when dispatching a job.
1 messages · Page 1 of 1 (latest)
@pure elbow Queue connections don’t have anything to do with database connections.
Your models should be defining what database connection they need.
Yes - its something like a bridge between an old system and the new one thus wanted to be able to consume data from the old database (mysql1), process it and add tasks to jobs table in mysql2 connection, because the new system will have only single connection (to mysql2)
Now that i think of that - think that messaging system would work better here instead of doing this ;]