-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dispose picked worker when BoundedElasticScheduler rejects task (#3183)
This commit makes sure that the picked worker is released (calling dispose() method) if a RejectedExecutionException is raised when the BoundedElasticScheduler tries to submit a task to its picked worker. Fixes #3182. Co-authored-by: Stanislav Kotik <[email protected]> Co-authored-by: Kuznetsov Stanislav <[email protected]>
- Loading branch information
1 parent
91c4bdf
commit f2ffd70
Showing
2 changed files
with
111 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters