Skip to content

Commit

Permalink
increased delay between reminder emails
Browse files Browse the repository at this point in the history
  • Loading branch information
valearna committed Dec 9, 2024
1 parent 9d30b57 commit 7b2faf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/pipeline/reminder_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7b2faf7

Please sign in to comment.