This commit is contained in:
Mateusz779 2023-04-25 12:27:56 +02:00
parent 1bfb2c9ca1
commit 4b43337b02

View File

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