remotes/1693045480750635534/spooky-22
Aevann1 2022-04-16 18:55:36 +02:00
parent 6156c78df6
commit 9551f7a548
3 changed files with 3 additions and 2 deletions

View File

@ -108,7 +108,7 @@ def notifications(v):
g.db.commit()
sq = g.db.query(Comment.id, Notification.created_utc).join(Notification, Notification.comment_id == Comment.id).distinct(Comment.top_comment_id).filter(
sq = g.db.query(Comment.id, Notification.created_utc).join(Notification, Notification.comment_id == Comment.id).distinct(Comment.parent_comment_id).filter(
Notification.user_id == v.id,
Comment.is_banned == False,
Comment.deleted_utc == 0,

View File

@ -18,6 +18,7 @@ psutil
pyotp
qrcode
redis
regex
requests
SQLAlchemy
psycopg2-binary

View File

@ -12,4 +12,4 @@ sudo pip3 install -r requirements.txt
mkdir /songs
mkdir /images
. imei.sh
sudo -E gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80:80 --max-requests 1000 --max-requests-jitter 500
gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80:80 --max-requests 1000 --max-requests-jitter 500