Skip to content

Commit

Permalink
Conditionally wrap Thread.sleep(..) call in collectResults(..).
Browse files Browse the repository at this point in the history
Keep Thread.sleep(..) to avoid the busy (hot) loop when the Future executions are not yet complete.

Add test coverage for ClusterCommandExecutor collectResults(..) method.

Cleanup compiler warnings in ClusterCommandExecutorUnitTests.

Reduce Thread.sleep(1L) to 1 millisecond.

Closes spring-projects#2518
  • Loading branch information
jxblum committed Sep 27, 2023
1 parent 7115f31 commit e102105
Show file tree
Hide file tree
Showing 4 changed files with 679 additions and 248 deletions.
Loading

0 comments on commit e102105

Please sign in to comment.