vasiliy-mikhailov opened a new pull request, #38931: URL: https://github.com/apache/shardingsphere/pull/38931
`RetryExecutor.isTimeout()` calls `Thread.sleep(intervalMillis)` *before* checking whether the timeout has already elapsed, so an already-exceeded timeout still incurs a full interval delay (e.g. `new RetryExecutor(0L, 5000L).execute(...)` sleeps 5s before returning). Return immediately when the elapsed time has reached the timeout, before sleeping. Added a test asserting a zero timeout returns promptly instead of sleeping. -- 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]
