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

Gracefully shutting down the AmazonsS3 ExecutorService #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bluesockets
Copy link

Hello.
Here is a PR that will gracefully shuts down the S3 ExecutorService. Currently the shutdown() method issues a shutdownNow() that interrupts the com.amazonaws.http.IdleConnectionReaper causing it to throw an java.lang.InterruptedException. Issuing a shutdown() with a 30 second timeout gets rid of the exception, and allows some time for the client to spin down.

Thanks for your work on aws-wrap

@alexmnyc
Copy link

alexmnyc commented Feb 8, 2016

@dwhjames this looks good. Can someone please merge?

@malcolmgreaves
Copy link

Is this still actively maintained? @dwhjames

@mingchuno
Copy link

@bluesockets
I have fork and merged your PR. I have also publish it under version 0.9.0
https://github.com/mingchuno/aws-wrap

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.

4 participants