dev@locazia: fix misprint
This commit is contained in:
parent
8e37098057
commit
0774d615ec
|
|
@ -55,7 +55,7 @@ async def main():
|
|||
|
||||
while True:
|
||||
sw_seqno_value = await get_sw_seqno()
|
||||
make_log("TON", f"Service running ({sw_seqno_value}", level="debug")
|
||||
make_log("TON", f"Service running ({sw_seqno_value})", level="debug")
|
||||
# with db_session() as session:
|
||||
# for stored_content in session.query(StoredContent).filter(StoredContent.uploaded == False).all():
|
||||
# pass
|
||||
|
|
|
|||
|
|
@ -17,15 +17,11 @@ async def main():
|
|||
try:
|
||||
make_log("Uploader", "Service running", level="debug")
|
||||
await uploader_loop()
|
||||
# with db_session() as session:
|
||||
# for stored_content in session.query(StoredContent).filter(StoredContent.uploaded == False).all():
|
||||
# pass
|
||||
|
||||
await asyncio.sleep(5)
|
||||
await send_status("uploader", f"working (seqno={seqno})")
|
||||
seqno += 1
|
||||
except BaseException as e:
|
||||
make_log("Uploader", f"Error: {e}" + '\n' + str(traceback.format_exc()), level="error")
|
||||
make_log("Uploader", f"Error: {e}", level="error")
|
||||
await asyncio.sleep(3)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Reference in New Issue