You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The signals being handled are:
- SIGTERM
- SIGINT
- SIGQUIT
This is a refactor of how processes are managed.
Instead of having a thread for each process which automatically
starts over and over again, the main thread spawns processes and
waits for a signal to stop the processes and end the main function.
To allow for this design, there's now a QueueWorker struct, which
holds the queue consumer name and the process that was started for
that consumer. The struct also contains the required functions for the
worker process lifetime.
EnvironmentError::MagentoDirNotFound => log::error!("error: Magento directory not found"),
144
-
EnvironmentError::MagentoBinNotFound => log::error!("error: Magento bin not found"),
145
-
EnvironmentError::MagentoCronWorkerEnabled => log::error!("error: Magento cron worker is enabled. Please see https://devdocs.magento.com/guides/v2.3/config-guide/mq/manage-message-queues.html#configuration to see how to disable the cron_run variable."),
178
+
EnvironmentError::MagentoDirNotFound => log::error!("Magento directory not found"),
179
+
EnvironmentError::MagentoBinNotFound => log::error!("Magento bin not found"),
180
+
EnvironmentError::MagentoCronWorkerEnabled => log::error!("Magento cron worker is enabled. Please see https://devdocs.magento.com/guides/v2.3/config-guide/mq/manage-message-queues.html#configuration to see how to disable the cron_run variable."),
0 commit comments