Introduction
Campaign delivery is queue-based. Campaign Queue Settings control speed, retry behavior, batch size, and stuck job recovery. Scheduled sends and background processing now depend on the centralized Settings / Cron Worker hub.
Campaign Queue Settings
Open WhatsApp Campaigns and click Settings in the list toolbar. The settings open in a right-side drawer so operators can review or save queue controls without leaving the campaign list. The direct /app/campaigns/settings URL remains available for compatibility.
Stale Lock Timeout is the number of seconds before an old processing lock can be released back to pending. The default is 300 seconds when no saved value exists.
| Setting | What it controls | Guidance |
|---|---|---|
| Max Messages Per Second | Rate limit for template message sending. The form notes Meta allows up to 80/sec for Tier 4. | Use conservative values unless the business has proven throughput and quality. |
| Max Retry Attempts | How many times a failed recipient is retried before being permanently failed. | Use enough retries for temporary failures but avoid repeated invalid sends. |
| Retry Delay (seconds) | Wait time between retry attempts. | Higher values reduce API pressure and repeated failure loops. |
| Queue Batch Size | How many queue items a worker fetches per cycle. | Lower values reduce memory usage. Higher values process more per run. |
| Stale Lock Timeout (seconds) | Time before a locked job is released back to pending. | Protects against stuck jobs after an interrupted worker cycle. |
| Daily / Weekly Frequency Cap | Maximum marketing messages allowed for one contact. | Use conservative limits to control fatigue and quality risk. |
| Smart Send and Minimum Events | Uses first-party engagement history to choose a preferred delivery hour only after enough events exist. | Leave disabled until engagement history is representative. |
| Tracked Link Expiry Days | Limits how long signed Campaign links can redirect. | Use the shortest period that fits the campaign lifecycle. |
Central Cron Worker Setup
Open Settings / Cron Worker and use the single hub command shown there. Keep both Campaign Scheduler and Campaign Queue Worker enabled so due scheduled campaigns start and queued recipients continue processing in bounded cycles.
Starting a campaign requires the central hub and Campaign Queue Worker to be available because Start creates queue rows and the Queue Worker performs the actual send. If the worker path is disabled, Start is blocked with an operator-facing error instead of silently leaving the campaign stuck.
Use the Run Now button on the Campaign Queue Worker card when you need to process pending campaign queue rows immediately or recover old HTTP/browser locks after re-enabling the worker.
- Campaign Scheduler is the hub-managed job that starts due scheduled campaigns.
- Campaign Queue Worker is the hub-managed job that validates queued CSV imports, advances resumable audience preparation, reconciles ambiguous outcomes, advances journey steps, processes queued recipients, and writes Campaign health heartbeats in controlled batches.
- The batch limit for queue processing is configured from the Cron Worker page rather than from a separate worker command.
- Server timezone should match the operational expectation for Schedule (optional).
* * * * * php /home/your-user/domains/your-domain/public_html/your-app/app/Modules/Settings/Workers/cron_hub.php >> /path/to/logs/cron_hub.log 2>&1 FAQs & Troubleshooting
Why does a campaign not send instantly?
It may be scheduled, queued, rate-limited, paused, waiting for worker cron, or blocked by settings.
Can I increase Max Messages Per Second to the maximum?
Only do that after confirming Meta tier, account quality, server capacity, and business risk. Conservative delivery is safer for most accounts.
Troubleshooting Checklist
- If scheduled campaigns stay scheduled, verify the central hub is running, Campaign Scheduler is enabled, server time is correct, and scheduled_at is valid.
- If queue is not moving, verify the central hub is running, Campaign Queue Worker is enabled, and the hub log/heartbeat shows recent activity.
- If jobs remain locked, review Stale Lock Timeout and interrupted worker processes, then click Run Now on the Campaign Queue Worker job to release recoverable processing locks and process the queue immediately.
- If failures repeat after retries, pause and fix the root cause instead of increasing retry attempts.