Add QueueRepositoryInterface with memory and file-backed adapters.
Provide a generic disk-backed FIFO queue with configurable path, retention, and dedup keys so consumers can buffer items across restarts without optional extras. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
co-authored by
Cursor
parent
1babb52d09
commit
a768474892
@@ -13,3 +13,7 @@ MINIO_CREATE_BUCKET_IF_MISSING=true
|
||||
POSTGRES_URI=postgresql://localhost/mydb
|
||||
POSTGRES_TABLE=users
|
||||
POSTGRES_PRIMARY_KEY=id
|
||||
|
||||
# File-backed queue (no optional extra)
|
||||
FILE_QUEUE_PATH=/tmp/python-repositories-queue.jsonl
|
||||
# FILE_QUEUE_MAX_AGE_HOURS=24
|
||||
|
||||
Reference in New Issue
Block a user