|
|
@ -125,7 +125,8 @@ def run(): |
|
|
|
if ttl <= 0: |
|
|
|
if ttl <= 0: |
|
|
|
data['emails_sent'] = data['emails_sent'] + 1 |
|
|
|
data['emails_sent'] = data['emails_sent'] + 1 |
|
|
|
data['time_to_live'] = GRACE_PERIOD * data['emails_sent'] |
|
|
|
data['time_to_live'] = GRACE_PERIOD * data['emails_sent'] |
|
|
|
save_data(DATA_STORE_PATH, data) |
|
|
|
|
|
|
|
send_alert_mail(data) |
|
|
|
send_alert_mail(data) |
|
|
|
print("SEND MAIL") |
|
|
|
print("SEND MAIL") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
save_data(DATA_STORE_PATH, data) |
|
|
|
|
|
|
|
|
|
|
|