algos crm.
CRM Documentation
The same product docs available in the dashboard—guides for setup, architecture, modules, and day-to-day use.
Operations · Queues
Queues
Background job processing for the CRM.
Defaults
| Setting | Value |
|---|---|
| Connection | database (.env QUEUE_CONNECTION) |
| Channel webhooks queue | channels (CHANNELS_WEBHOOK_QUEUE) |
| Max attempts (channel config) | 5 |
| Tests | Forced QUEUE_CONNECTION=sync in phpunit.xml |
Why workers matter
WebhookIngestionService dispatches ProcessChannelWebhookJob onto the channels queue. Without a worker:
- HTTP still returns
202 Accepted - Events stay
queued - Leads / Inbox messages do not appear
Run locally
php artisan queue:work --queue=channels,default
Or via:
composer dev
(queue:listen is included in the concurrent composer dev script.)
Production
Supervise a long-running worker (Supervisor / systemd). After deploys:
php artisan queue:restart
See Deployment.
Failed jobs
Inspect failed_jobs table / php artisan queue:failed.
Channel events also store status + error on channel_webhook_events and connection health fields.
Related queues / mail
- Auth emails send synchronously (no worker required).
- Other notifications may queue depending on implementation — keep
defaultin the worker list.