Add outbox worker processing policy
This commit is contained in:
@@ -149,7 +149,35 @@ Helpdesk behavior, checks the matching `event_outbox_events` rows, and dry-runs
|
||||
worker enrichment without claiming or marking rows processed. Details are in
|
||||
`docs/helpdesk_outbox_worker_validation.md`.
|
||||
|
||||
## 9. Re-Run The Read-Only Validator
|
||||
## 9. Check Or Process The Outbox Worker
|
||||
|
||||
Inspect outbox queue state:
|
||||
|
||||
```sh
|
||||
./redmine_outbox_worker.py --status
|
||||
```
|
||||
|
||||
Preview worker output without marking rows processed:
|
||||
|
||||
```sh
|
||||
./redmine_outbox_worker.py --dry-run --batch-size 10
|
||||
```
|
||||
|
||||
Process a small bounded batch only after the dry-run output looks correct:
|
||||
|
||||
```sh
|
||||
./redmine_outbox_worker.py --batch-size 5
|
||||
```
|
||||
|
||||
The default JSONL output path is
|
||||
`/tmp/redmine-outbox/derived_documents.jsonl`. Use `--output` to override it.
|
||||
Processed rows are retained by default. To preview test-instance cleanup:
|
||||
|
||||
```sh
|
||||
./redmine_outbox_worker.py --purge-processed-days 30
|
||||
```
|
||||
|
||||
## 10. Re-Run The Read-Only Validator
|
||||
|
||||
Finish by running:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user