forked from mtusi2026/mtusi2026lab5
23 lines
644 B
Plaintext
23 lines
644 B
Plaintext
# broker-config
|
|
# date: 2026-11-11T23:54:10 commit: 276dbda
|
|
|
|
$ docker compose --env-file .env exec -T broker redis-cli CONFIG GET append*
|
|
appendfilename
|
|
appendonly.aof
|
|
appendonly
|
|
yes
|
|
appendfsync
|
|
always
|
|
appenddirname
|
|
appendonlydir
|
|
[exit 0]
|
|
|
|
$ docker compose --env-file .env exec -T broker redis-cli CONFIG GET maxmemory-policy
|
|
maxmemory-policy
|
|
noeviction
|
|
[exit 0]
|
|
|
|
$ docker compose --env-file .env exec -T api python -m app.tools queue
|
|
{"stream_length": 11, "groups": [{"name": "workers", "consumers": 2, "pending": 2, "lag": 9}], "dlq_length": 0, "outbox_unpublished": 0, "jobs_by_status": {"ready": 8, "processing": 2, "queued": 9}}
|
|
[exit 0]
|