1
0
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:
Hemna 2021-10-06 12:12:49 -04:00
parent c097c31258
commit fdc8c0cd66

View File

@ -575,7 +575,7 @@ class APRSDEmailThread(threads.APRSDThread):
# slowly increase delay every iteration, max out at 300 seconds
# any send/receive/resend activity will reset this to 60 seconds
if EmailInfo().delay < 300:
EmailInfo().delay += 1
EmailInfo().delay += 10
LOG.debug(
f"check_email_delay is {EmailInfo().delay} seconds ",
)