Updated the smtp client object handling logic by thread local client variable #2

Open
PeterSurda wants to merge 1 commits from cis-kuldeep/influx-smtp-gateway:master into master
Owner
No description provided.
PeterSurda added 1 commit 2022-02-24 08:21:56 +01:00
PeterSurda reviewed 2022-02-24 08:23:59 +01:00
@ -110,2 +132,4 @@
cherrypy.tree.mount(ROOT, config={})
mythread = threading.local()
mythread.client = smtplib.SMTP(host=SMTP_SERVER_HOST,
Author
Owner

mythread.client = None

```mythread.client = None```
PeterSurda reviewed 2022-02-24 08:25:37 +01:00
@ -112,0 +134,4 @@
mythread = threading.local()
mythread.client = smtplib.SMTP(host=SMTP_SERVER_HOST,
port=SMTP_SERVER_PORT)
mythread.client.starttls()
Author
Owner

remove

remove
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u master:cis-kuldeep-master
git checkout cis-kuldeep-master

Merge

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff cis-kuldeep-master
git checkout master
git merge --ff-only cis-kuldeep-master
git checkout cis-kuldeep-master
git rebase master
git checkout master
git merge --no-ff cis-kuldeep-master
git checkout master
git merge --squash cis-kuldeep-master
git checkout master
git merge --ff-only cis-kuldeep-master
git checkout master
git merge cis-kuldeep-master
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/influx-smtp-gateway#2
No description provided.