Skip to content

Commit

Permalink
[MOSIP-35226] Updated bootstrap.properties
Browse files Browse the repository at this point in the history
Signed-off-by: Mohan E <[email protected]>
  • Loading branch information
Mohanraj209 authored Sep 2, 2024
1 parent ffd5af6 commit 4f824c7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
###########################################
Expand Down

0 comments on commit 4f824c7

Please sign in to comment.