From 970375ad7a8d8ec2f02042183c580b58fb08fd76 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Wed, 4 Oct 2023 14:19:14 -0600 Subject: [PATCH] Update config docs for LiteFS v0.5.7 --- litefs/config.html.markerb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/litefs/config.html.markerb b/litefs/config.html.markerb index 83e7fbbdf8..1837ef4e37 100644 --- a/litefs/config.html.markerb +++ b/litefs/config.html.markerb @@ -171,6 +171,11 @@ proxy: # the only available wildcard. These requests are passed # through to the target as-is. passthrough: ["/debug/*", "*.png"] + + # The duration to hold write requests when no primary is available. + # This is helpful when a primary switches over and there is a small window + # where the new primary is unknown to the replica. + primary-redirect-timeout: "5s" ``` @@ -202,6 +207,11 @@ lease: # "static" leasing, this should be set to true on the primary # and false on the replicas. candidate: true + + # Filtered list of databases to replicate from the primary to this node. + # If no databases are specified, all databases are replicated. You may only + # filter databases on non-candidate nodes. + databases: [ "my.db", "myother.db" ] ```