-
This commit is contained in:
		
							
								
								
									
										1
									
								
								utils.py
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								utils.py
									
									
									
									
									
								
							| @@ -83,6 +83,7 @@ class PingThread(threading.Thread): | |||||||
|             if date is None: |             if date is None: | ||||||
|                 return |                 return | ||||||
|             delta = datetime.datetime.utcnow() - date |             delta = datetime.datetime.utcnow() - date | ||||||
|  |             print(delta) | ||||||
|             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) |                 print("deleted:", self.Id) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user