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

reduce connections to email server to 1/script run #63

Open
allisonmuise opened this issue Jan 18, 2019 · 0 comments
Open

reduce connections to email server to 1/script run #63

allisonmuise opened this issue Jan 18, 2019 · 0 comments
Assignees

Comments

@allisonmuise
Copy link
Contributor

Causes connection failures to AWS when too many connections are attempted too quickly.

script currently connects to email server for every service. Remove With statement that initiates email server connection and move the connection to outside the services loop. Reference the server connection inside the email processing section for each service. Close email server connection as part of Finally block.

@allisonmuise allisonmuise self-assigned this Jan 18, 2019
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