-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[server][da-vinci] Instantiate the gracefulShutdownLatch lazily
Instantiate the gracefulShutdownLatch lazily to avoid waiting for the latch when shutting down an ingestion task that was just intialized. This is more of an issue in unit tests where we mock out certain parts and the run() method of SIT never get to execute so waiting on the latch that was originally initialized during instance instantiation will timeout.
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 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