Mail: [email protected] Phone: +1(424)231-4091

Queues Jobs Are Disabled

To perform heavy or repetitive tasks, NexoPOS needs to enable queues. This ensures NexoPOS performs those tasks without affecting his performance. By default, NexoPOS works in sync, meaning most tasks are executed in runtime, so it's not required to enable this for NexoPOS to work, however, it's ideal to set this up.

Setup Steps:

  1. Install Laravel Queue Worker: Laravel queues require a worker process to run in the background. You can use Laravel's built-in queue worker, or use a process manager like Supervisor to manage this process. If you're using Laravel's built-in queue worker, you can start it with the command php artisan queue:work.
  2. Configure Queue Connection: Laravel supports several queue backends out of the box: sync, database, redis, sqs, and beanstalkd. You can configure your queue connection in the .env file. For example, to use the database queue, you would set QUEUE_CONNECTION=database.
  3. Run Migrations (for database queue): If you're using the database queue, you'll need to run the migrations that create the necessary tables. You can do this with the command php artisan queue:table followed by php artisan migrate.
  4. Monitor Queues: Laravel provides several tools for monitoring your queues, including the queue:failed command to view any jobs that have failed.

Troubleshooting

If you're having issue configuring this, let us know on Github.