Skip to main content

Overview

The durable execution worker processes queued workflow executions via pgmq. It runs on a per-minute cron schedule and processes batches per organization with semaphore-based concurrency control.

Configuration

Worker settings are stored in fw_module_settings (one row per organization):

Enabling the Worker

  1. Navigate to FW SettingsWorker tab
  2. Toggle Enable Execution Worker on
  3. Adjust batch size and visibility timeout as needed
  4. Save settings

Queue Monitoring

Check Queue Depth

Check Dead Letter Queue

Worker Run History


DLQ Handling

Messages are routed to the DLQ after 5 failed attempts. To retry a DLQ message:

Purge Old DLQ Messages


Troubleshooting

See Runbook for operational procedures.