Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revising authentication timeout logic to prevent slow shutdown
For authentication timeout, there was a scheduled task introduced recently: Pr Line 127eb14#diff-6b832face5ab9f5e23687eaeb478627eR631 Client needs to wait all scheduled tasks to finish before shutdown. Authentication timeout was scheduled for 5 seconds(default connection timeout) Hard timeout is introduced in client invocation to solve same problem. CleanResources task is now responsible to check that timeout. This new timeout mechanism is only used by authentication for now.
- Loading branch information
sancar
committed
Feb 16, 2018
1 parent
0e55122
commit 68a4dfe
Showing
3 changed files
with
57 additions
and
19 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
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