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

Reject invalid Executor's RejectedExecutionHandlers #873

Merged
merged 1 commit into from
May 1, 2024

Conversation

pivovarit
Copy link
Owner

@pivovarit pivovarit commented May 1, 2024

Disallow ThreadPoolExecutor.DiscardOldestPolicy and ThreadPoolExecutor.DiscardPolicy since they are fundamentally unsafe and can induce permanent inconsistencies when dropping some of the tasks

@pivovarit pivovarit force-pushed the reject-invalid-rep branch from 9e51bac to e8676d4 Compare May 1, 2024 06:29
@pivovarit pivovarit force-pushed the reject-invalid-rep branch from e8676d4 to c09b724 Compare May 1, 2024 06:30
@pivovarit pivovarit marked this pull request as ready for review May 1, 2024 06:30
@pivovarit pivovarit merged commit 03d52fc into master May 1, 2024
2 checks passed
@pivovarit pivovarit deleted the reject-invalid-rep branch May 1, 2024 06:41
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.

1 participant