From 7b2faf7a567e66abdefd99cdeedd03b601f6af36 Mon Sep 17 00:00:00 2001 From: Valerio Arnaboldi Date: Mon, 9 Dec 2024 10:27:49 -0800 Subject: [PATCH] increased delay between reminder emails --- src/backend/pipeline/reminder_email.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/pipeline/reminder_email.py b/src/backend/pipeline/reminder_email.py index 96eca5e..1fd9c22 100755 --- a/src/backend/pipeline/reminder_email.py +++ b/src/backend/pipeline/reminder_email.py @@ -50,8 +50,8 @@ def main(): email_manager.send_reminder_to_author(paper_id=paper_id, paper_title=paper_title, paper_journal=paper_journal, afp_link=afp_link, recipients=[author_email], final_call=False) - logger.info("going to sleep for ~15 minutes") - time.sleep(1000) + logger.info("going to sleep for ~30 minutes") + time.sleep(2000) else: logger.warning("skipping email address removed from db") logger.info("Pipeline finished successfully")