Sync Queue
Every sync operation in WooSync passes through the Caz Woo Sync Queue. This provides a complete audit trail and allows for automatic retry on failure. Access it at CAZ WooSync > Caz Woo Sync Queue.
Queue Item Fields
| Field | Description |
|---|---|
| Store | Which Caz Woo Store this item belongs to |
| Entity Type | Product, Order, Customer, Inventory, Price, or Coupon |
| Reference ID | WooCommerce or ERPNext ID of the record being synced |
| Direction | woo_to_erp or erp_to_woo |
| Status | Queued, Processing, Completed, Failed, or Skipped |
| Attempts | How many times this item has been processed (max 5) |
| Next Retry At | Earliest time for next retry (exponential backoff) |
| Error Message | Last error if status is Failed |
Retry Logic
Failed items are automatically retried with exponential backoff:
- Attempt 1 — Immediate
- Attempt 2 — After 1 minute
- Attempt 3 — After 5 minutes
- Attempt 4 — After 15 minutes
- Attempt 5 — After 1 hour, then marked Failed
After 5 failed attempts, an alert email is sent to the admin email address configured in Caz Woo Settings.
Scheduled Tasks
| Task | Frequency | Description |
|---|---|---|
| Process Sync Queue | Every 5 minutes | Dispatches pending queue items to background workers in batches of 50 |
| Poll WooCommerce | Every 15 minutes | Fetches products, orders, and customers modified since the last sync time — fallback for missed webhooks |
| Daily Health Check | Daily | Tests connection for all active stores and sends a daily digest report if issues are found |
Queue Dashboard
Go to CAZ WooSync > Caz Woo Dashboard for a visual overview of queue health: total queued, processing, completed, and failed items per store, with hourly throughput charts.
Global Settings
In CAZ WooSync > Caz Woo Settings:
- Queue Batch Size — Number of queue items processed per scheduler run (default: 50). Increase on high-traffic stores with fast servers.
- Max Requests Per Minute — Global rate limit cap applied across all stores (default: 60).
- Verify Webhook Signature — Enforces HMAC signature verification on all incoming WooCommerce webhooks (default: enabled).