Configurable monitor-delay-interval

The `monitor-delay-interval` has been added to the DB config so that
users can change the time period between WAL checks after a file
change notification has occurred. This can be useful to batch up
changes in larger files in the shadow WAL or to reduce or eliminate
the delay in propagating changes during read replication.

Setting the interval to zero or less will disable it.
This commit is contained in:
Ben Johnson
2022-02-18 14:26:07 -07:00
parent 4027c87a02
commit 6f8cd5a9c4
7 changed files with 84 additions and 19 deletions

View File

@@ -3,5 +3,4 @@ dbs:
replicas:
- path: $LITESTREAM_TEMPDIR/replica
monitor-interval: 100ms
max-checkpoint-page-count: 20