forked from rDrama/rDrama
fsd
parent
6156c78df6
commit
9551f7a548
|
@ -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,
|
||||
|
|
|
@ -18,6 +18,7 @@ psutil
|
|||
pyotp
|
||||
qrcode
|
||||
redis
|
||||
regex
|
||||
requests
|
||||
SQLAlchemy
|
||||
psycopg2-binary
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue