Make service configs
This commit is contained in:
2
main.py
2
main.py
@@ -90,7 +90,7 @@ def run_tasks():
|
|||||||
def replication_task():
|
def replication_task():
|
||||||
while True:
|
while True:
|
||||||
conn = db.connect_db()
|
conn = db.connect_db()
|
||||||
logging.warning(connected)
|
# logging.warning(connected)
|
||||||
with Session(conn) as session:
|
with Session(conn) as session:
|
||||||
for item in session.query(db.Queue).join(db.Queue.user).all():
|
for item in session.query(db.Queue).join(db.Queue.user).all():
|
||||||
bndname = item.user.bndname
|
bndname = item.user.bndname
|
||||||
|
|||||||
Reference in New Issue
Block a user