Python icon indicating copy to clipboard operation
Python copied to clipboard

Python project

Open riyaa-garg opened this issue 7 months ago • 2 comments

riyaa-garg avatar Apr 06 '26 06:04 riyaa-garg

邮件已收到,我会尽快处理。

Seadam avatar Apr 06 '26 06:04 Seadam

Regarding the proposed context manager for smtplib, should we also implement a backoff strategy for the SMTPDataError exceptions to handle transient server-side rate limiting?

darienjournye26 avatar Sep 06 '26 02:09 darienjournye26

checks the 4xx status code prefix so we don't retry permanent 5xx failures.

Bbk1AtJJF8 avatar Oct 24 '26 17:10 Bbk1AtJJF8

If we map SMTPServerDisconnected to the shared retry handler, we'll need to make sure the context

fragrantauto avatar Oct 24 '26 18:10 fragrantauto

To avoid infinite loops on transient network issues, should the backoff logic implement an exponential delay factor alongside the max_retries parameter?

brokendenim avatar Oct 27 '26 04:10 brokendenim

If we implement exponential backoff as suggested, should we use a jittered approach to prevent thundering herd issues when handling SMTPServerDisconnected?

jadayaanaliah26 avatar Nov 16 '26 08:11 jadayaanaliah26