From 87906e4ff31f61e883d3e925185c2024a15a27b1 Mon Sep 17 00:00:00 2001 From: SaintShit Date: Tue, 20 Feb 2024 21:40:57 +0330 Subject: [PATCH] remove stupid (debug) line --- app/jobs/review_users.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/jobs/review_users.py b/app/jobs/review_users.py index 501c77f79..6ceb8ce32 100644 --- a/app/jobs/review_users.py +++ b/app/jobs/review_users.py @@ -16,7 +16,6 @@ if TYPE_CHECKING: from app.db.models import User -import time def add_notification_reminders(db: Session, user: "User", now: datetime = datetime.utcnow()) -> None: @@ -37,8 +36,6 @@ def add_notification_reminders(db: Session, user: "User", now: datetime = dateti def review(): - while True: - time.sleep(1) now = datetime.utcnow() now_ts = now.timestamp() with GetDB() as db, GetBG() as bg: