You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "EdColeman (via GitHub)" <gi...@apache.org> on 2023/03/17 19:42:36 UTC

[GitHub] [accumulo] EdColeman commented on a diff in pull request #3244: Alternate time wait calculation using nanos

EdColeman commented on code in PR #3244:
URL: https://github.com/apache/accumulo/pull/3244#discussion_r1140643968


##########
server/manager/src/main/java/org/apache/accumulo/manager/Manager.java:
##########
@@ -1024,12 +1024,11 @@ private SortedMap<TServerInstance,TabletServerStatus> gatherTableInformation(
         }
       }));
     }
-    final long timeToWaitForCompletion = Math.max(10000, rpcTimeout / 3);
+    final long timeToWaitNanos = MILLISECONDS.toNanos(Math.max(10_000, rpcTimeout / 3));

Review Comment:
   Addressed in 4295d305ce



-- 
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: notifications-unsubscribe@accumulo.apache.org

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