title: How set up retry config fetching in spring boot?
body: <p>I have config server and application fetches configs from this server. 
  I want to set up retry mechanism of fetching. If config server is unavailable application shall sent requests for 10 minutes.</p>
  
  <p>In spring docs i found next configs</p>
  
  <pre><code>spring.cloud.config.uri=http://localhost:9090
  spring.cloud.config.fail-fast=true
  spring.cloud.config.retry.max-interval=10000
  spring.cloud.config.retry.max-attempts=2000
  </code></pre>
  
  <p>But they change nothing. My app doesn't do retry requests it just fails with</p>
  
  <pre><code>Caused by: java.net.ConnectException: Connection refused: connect 
  </code></pre>
  
  <p>(Config server is down in that moment)</p>
  
  <p>What am i doing wrong? There is way solve my problem?</p>