This commit is contained in:
retoor 2025-05-13 19:13:50 +02:00
parent adad5ed4fe
commit 2e324ff118

View File

@ -132,10 +132,7 @@ class Application(BaseApplication):
task = await self.tasks.get()
self.db.begin()
try:
task_start = time.time()
await task
task_end = time.time()
print(f"Task {task} took {task_end - task_start} seconds")
self.tasks.task_done()
except Exception as ex:
print(ex)