Disable app-side auto-checkpointing so Litestream is the sole checkpoint owner, and configure Litestream to use only non-blocking checkpoints. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
393 B
YAML
14 lines
393 B
YAML
dbs:
|
|
- path: ${DB_PATH}
|
|
min-checkpoint-page-count: 1000
|
|
checkpoint-interval: 1m
|
|
truncate-page-n: 0
|
|
replicas:
|
|
- type: s3
|
|
bucket: ${LITESTREAM_BUCKET}
|
|
endpoint: ${R2_ENDPOINT}
|
|
access-key-id: ${R2_ACCESS_KEY_ID}
|
|
secret-access-key: ${R2_SECRET_ACCESS_KEY}
|
|
force-path-style: true
|
|
retention: 24h
|
|
snapshot-interval: 24h
|