From 77f8df378d7c23b637d18eeb8a355efb5e0b3481 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Mon, 1 Oct 2018 20:14:39 -0400 Subject: [PATCH] Document git refresh rate. Fixes #1147. --- docs/src/main/asciidoc/spring-cloud-config.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index 7d8e8d29..ab882857 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -503,6 +503,14 @@ spring: NOTE: The default value for `deleteUntrackedBranches` property is `false`. +===== Git Refresh Rate + +You can control how often the config server will fetch updated configuration data +from your Git backend by using `spring.cloud.config.server.git.refreshRate`. The +value of this property is specified in seconds. By default the value is 0, meaning +the config server will fetch updated configuration from the Git repo every time it +is requested. + ==== Version Control Backend Filesystem Use WARNING: With VCS-based backends (git, svn), files are checked out or cloned to the local filesystem.