dsmiley commented on code in PR #2629:
URL: https://github.com/apache/solr/pull/2629#discussion_r1709959642


##########
solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseHttpClusterStateProvider.java:
##########
@@ -55,7 +56,8 @@ public abstract class BaseHttpClusterStateProvider implements 
ClusterStateProvid
   volatile Map<String, Map<String, String>> aliasProperties;
   long aliasesTimestamp = 0;
 
-  private int cacheTimeout = 5; // the liveNodes and aliases cache will be 
invalidated after 5 secs
+  // the liveNodes and aliases cache will be invalidated after 5 secs
+  private int cacheTimeout = 
EnvUtils.getPropertyAsInteger("solr.httpcsp.cache.timeout", 5);

Review Comment:
   Solr has been sloppy in time units but there have been recent improvements 
on standardization.  So I have no doubts you've seen seconds here & there.  
Elsewhere I see a time suffix so it's not ambiguous -- which is ideal.  I 
recommend adding a ".sec".



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to