db commit: return not continue after 10 seconds

This commit is contained in:
Egg 2024-10-09 15:42:44 +02:00
parent 2eee006dcb
commit 47a7e7c986

2
db.py
View file

@ -35,7 +35,7 @@ class DB(object):
logger.warning("frontend_daemon is getting restarted")
self.conn.commit()
elif time() - start_time > 10:
continue
return
def close(self):
self.conn.close()