This commit is contained in:
Aevann1 2022-04-04 20:49:55 +02:00
parent fe4ae8480a
commit 8fc3c87458

View file

@ -116,7 +116,7 @@ def notifications(v):
Comment.author_id != AUTOJANNY_ID, Comment.author_id != AUTOJANNY_ID,
Comment.body_html.notlike('<html><body><p>New rdrama mention: <a href="https://old.reddit.com/r/%'), Comment.body_html.notlike('<html><body><p>New rdrama mention: <a href="https://old.reddit.com/r/%'),
Comment.parent_submission != None Comment.parent_submission != None
).order_by(Notification.created_utc.desc()).offset(25 * (page - 1)).limit(500).all() ).order_by(Notification.created_utc.desc()).offset(25 * (page - 1)).limit(100).all()
print("3: " + str(time.time()-t)) print("3: " + str(time.time()-t))
t = time.time() t = time.time()