This commit is contained in:
Mateusz779 2023-04-25 12:27:26 +02:00
parent 54fd578655
commit 1bfb2c9ca1

View File

@ -85,6 +85,7 @@ class PingThread(threading.Thread):
delta = datetime.datetime.utcnow() - date
if delta.total_seconds() > DELETE_TIMEOUT:
db.del_image_allocation_id(self.Id)
print("deleted:", self.Id)
else:
db.update_image_allocation_time(self.Id)