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

What happens if submit task fails with exception due to bounded queues & maximumPoolSize. #13

Open
madhub opened this issue Feb 11, 2023 · 0 comments

Comments

@madhub
Copy link

madhub commented Feb 11, 2023

Hi
I was trying port code to C#, during prototype I come across the situation where submitting a task fails because of bounded queues & maximumPoolSize . It looks this exception case is not handled. Executor Service can throw RejectedExecutionException
Corresponding code

Suggestion: you could AWS transfer utilitie which does multiple upload of given stream under the hood.

My minimal C# implementation of the same here

https://github.com/madhub/S3StreamUnzip/blob/main/README.md

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

No branches or pull requests

1 participant