-
Do queues work in NativePHP? Can you show an example? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I didn't find any documentation regarding the queues or how to start them, I got around this by adding an Artisan command schedule to my Console/Kernel.php file to execute the queue:work command every ten seconds without overlapping and closing on exit:
This will call the command and have the queue:work command running until it exits, ensuring no double instances. |
Beta Was this translation helpful? Give feedback.
-
We start a single queue worker when your app loads up. You shouldn't need to do anything special to queue jobs and to have them execute as intended. |
Beta Was this translation helpful? Give feedback.
We start a single queue worker when your app loads up.
You shouldn't need to do anything special to queue jobs and to have them execute as intended.