Moving From Database To Sqs Queue connection #52885
-
I was wondering what will happen to all queued jobs in my jobs table when my connection was database and not yet processed by the daemon as i am moving to sqs queue connection and when i changed my env file to the sqs connection information all new jobs will use the new queue but what about the older ones will it remains in jobs table and will not be processed thanks ... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
That won't be done automatically. you have to create a legacy worker yourself that processes jobs from database connection while new ones get pushed to sqs and processed by a worker that uses the sqs connection. when all database jobs processed, you can remove the legacy worker from your configuration. |
Beta Was this translation helpful? Give feedback.
-
there is no option to pass the connection to the queue:work command but i can pass the connection directly |
Beta Was this translation helpful? Give feedback.
you have the queue option on the command for the worker