Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug #314] ThrottledFuture exceptional callbacks #316

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

lukaskabc
Copy link
Collaborator

#314 Fixes exception being thrown while adding future callback using ThrottledFuture#then when the future was already completed exceptionally.

Future callbacks were changed to accept the completed future instead of the result, allowing to handle the future state and result in the callback.

@lukaskabc lukaskabc requested a review from ledsoft November 20, 2024 16:27
Copy link
Contributor

@ledsoft ledsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ledsoft ledsoft merged commit 8315b90 into kbss-cvut:development Nov 20, 2024
2 checks passed
@ledsoft ledsoft linked an issue Nov 20, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exceptions in throttled tasks are propagated to client at wrong time
2 participants