Add minimum shadow WAL retention

This commit is contained in:
Ben Johnson
2022-04-04 21:18:05 -06:00
parent 44662022fa
commit f53857e1ad
8 changed files with 131 additions and 10 deletions

View File

@@ -0,0 +1,6 @@
addr: :10002
dbs:
- path: $LITESTREAM_TEMPDIR/0/db
max-checkpoint-page-count: 5
shadow-retention-count: 3

View File

@@ -0,0 +1,5 @@
dbs:
- path: $LITESTREAM_TEMPDIR/1/db
upstream:
url: "$LITESTREAM_UPSTREAM_URL"
path: "$LITESTREAM_TEMPDIR/0/db"