Esri / Esri/crowdsource-reporter-scripts

reduce connections to email server to 1/script run

Open
#63 0 comments 0 reactions 1 assignee Claimed by @allisonmuise View on GitHub
Dominant language
Python
Stars
13
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.