walterddr commented on code in PR #9962: URL: https://github.com/apache/pinot/pull/9962#discussion_r1047576553
########## pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/executor/RoundRobinScheduler.java: ########## @@ -58,12 +64,29 @@ public class RoundRobinScheduler implements OpChainScheduler { @VisibleForTesting final Set<MailboxIdentifier> _seenMail = new HashSet<>(); + public RoundRobinScheduler() { + this(DEFAULT_RELEASE_TIMEOUT); + } + + public RoundRobinScheduler(long releaseTimeout) { + this(releaseTimeout, System::currentTimeMillis); + } + + public RoundRobinScheduler(long releaseTimeoutMs, Supplier<Long> ticker) { + _releaseTimeout = releaseTimeoutMs; + _ticker = ticker; + } Review Comment: ah. I see want you meant. sound good. sorry I misunderstood the purpose of this approach -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org