I am using PCF provided config server instance which is backed by GIT based repo to server properties. My application is connected to this config server service instance and exposing "refresh" endpoint. Everything works except when i change the property in git and send http post to my application (/actuator/refresh) immediately after updating property, i do not get updated prop name back in response. If I wait few seconds and then send that http post again to refresh the property then I am getting back the name of the property being updated.
Why do I have to wait few seconds(usually 1- 2min) before my property is being refreshed? Does it have anything to do with mirror synchronization?