masaori335 commented on code in PR #11864:
URL: https://github.com/apache/trafficserver/pull/11864#discussion_r1843011519


##########
plugins/origin_server_auth/origin_server_auth.cc:
##########
@@ -1087,9 +1100,12 @@ config_reloader(TSCont cont, TSEvent /* event ATS_UNUSED 
*/, void *edata)
   S3Config *file_config = gConfCache.get(s3->conf_fname());
 
   if (!file_config || !file_config->valid()) {
-    TSError("[%s] invalid configuration. Check mandatory fields.", 
PLUGIN_NAME);
+    TSError("[%s] invalid configuration. Check mandatory fields. Scheduling 
reload", PLUGIN_NAME);
+    long delay = pow(s3->incr_invalid_file_count(), 2);

Review Comment:
   Do you mean power of 2?  Please use bitwise left shift `1 << 
s3->incr_invalid_file_count()`.
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to