diff --git a/kernel/kernel-config-server/src/main/resources/bootstrap.properties b/kernel/kernel-config-server/src/main/resources/bootstrap.properties index f559236f40..f870cec7e4 100644 --- a/kernel/kernel-config-server/src/main/resources/bootstrap.properties +++ b/kernel/kernel-config-server/src/main/resources/bootstrap.properties @@ -34,18 +34,18 @@ spring.cloud.config.server.accept-empty=true #Spring Cloud Config Server makes a clone of the remote git repository and if somehow the local copy gets #dirty (e.g. folder content changes by OS process) so Spring Cloud Config Server cannot update the local copy #from remote repository. For Force-pull in such case, we are setting the flag to true. -spring.cloud.config.server.git.force-pull=false +spring.cloud.config.server.git.force-pull=true # Disabling health endpoints to improve performance of config server while in development, can be commented out in production. health.config.enabled=false # Setting up refresh rate to 5 seconds so that config server will check for updates in Git repo after every one minute, #can be lowered down for production. -spring.cloud.config.server.git.refreshRate=0 +spring.cloud.config.server.git.refreshRate=5 # adding provision to clone on start of server instead of first request -spring.cloud.config.server.git.cloneOnStart=false +spring.cloud.config.server.git.cloneOnStart=true #For encryption of properties ###########################################