-
This commit is contained in:
parent
54fd578655
commit
1bfb2c9ca1
1
utils.py
1
utils.py
@ -85,6 +85,7 @@ class PingThread(threading.Thread):
|
|||||||
delta = datetime.datetime.utcnow() - date
|
delta = datetime.datetime.utcnow() - date
|
||||||
if delta.total_seconds() > DELETE_TIMEOUT:
|
if delta.total_seconds() > DELETE_TIMEOUT:
|
||||||
db.del_image_allocation_id(self.Id)
|
db.del_image_allocation_id(self.Id)
|
||||||
|
print("deleted:", self.Id)
|
||||||
else:
|
else:
|
||||||
db.update_image_allocation_time(self.Id)
|
db.update_image_allocation_time(self.Id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user