Skip to content

Commit

Permalink
no need to wait after a successful retry
Browse files Browse the repository at this point in the history
  • Loading branch information
fornaix committed Sep 15, 2023
1 parent 32ec6c0 commit 3d49195
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ private[spark] object Utils {
val result = Try(f)
result match {
case Success(result) =>
LockSupport.parkNanos(interval.toNanos)
Success(result)
case Failure(exception: T) if retryTimes > 0 =>
logger.warn(s"Execution failed caused by: ", exception)
Expand Down

0 comments on commit 3d49195

Please sign in to comment.