mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-17 22:01:49 -05:00
Increase email delay to +10
This patch updates the increasing of the email check delay to += 10 seconds instead of +1.
This commit is contained in:
parent
c097c31258
commit
fdc8c0cd66
@ -575,7 +575,7 @@ class APRSDEmailThread(threads.APRSDThread):
|
|||||||
# slowly increase delay every iteration, max out at 300 seconds
|
# slowly increase delay every iteration, max out at 300 seconds
|
||||||
# any send/receive/resend activity will reset this to 60 seconds
|
# any send/receive/resend activity will reset this to 60 seconds
|
||||||
if EmailInfo().delay < 300:
|
if EmailInfo().delay < 300:
|
||||||
EmailInfo().delay += 1
|
EmailInfo().delay += 10
|
||||||
LOG.debug(
|
LOG.debug(
|
||||||
f"check_email_delay is {EmailInfo().delay} seconds ",
|
f"check_email_delay is {EmailInfo().delay} seconds ",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user