title: How to set ServerListRefreshInterval in ribbon load balancer?
body: <p>I'm using Spring, Eureka and Ribbon. I want to change the refresh interval for ribbon. While reading the documentation, I found out that I should set the following property:</p>
  
  <pre><code>my-service.ribbon.ServerListRefreshInterval=99999
  </code></pre>
  
  <p>However, it doesn't help because when I create a load balancer, Spring uses the following constructor </p>
  
  <pre><code>   public DynamicServerListLoadBalancer(IClientConfig clientConfig, IRule rule, IPing ping, 
          ServerList&lt;T&gt; serverList, ServerListFilter&lt;T&gt; filter) {
      this(
              clientConfig,
              rule,
              ping,
              serverList,
              filter,
              new PollingServerListUpdater()
      );
  </code></pre>
  
  <p>And this constructor doesn't use my property. </p>