Commit 7a8d4aa8 authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Remove transfers from the runningtransfers set as soon as possible, i.e. when...

Remove transfers from the runningtransfers set as soon as possible, i.e. when the mover calls close()
parent e337a9fd
......@@ -94,6 +94,8 @@ class MoverReqHandlerThread(threading.Thread):
cksumType = 'AD'
# find transfer in runningTransfers, raise KeyError if not found
t = self.runningTransfers.get(transferid)
# remove it from there as it is not running any longer
self.runningTransfers.remove([transferid])
# get the admin timeout
timeout = self.config.getValue('TransferManager', 'AdminTimeout', 5, float)
closeTime = time.time()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment