-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API-879] Wait for listener deregistration requests (#475)
* Wait for listener deregistration requests With this PR, we will wait for all the listener deregistration requests to finish before returning `True` to the user. It is mainly a precaution to the possible problems that might result in services that expect sync removal of listeners. While doing that, I have also dived into one of our technical debts and corrected the implementation of the `combine_futures`. It now waits for all futures to complete in all scenarios, as it should be, and sets the result to the first exceptional completion, if some of the input futures complete as such. * add exception info to log message and remove unused import
- Loading branch information
Showing
4 changed files
with
116 additions
and
28 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
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