Commit 6684e2f0 authored by Manuela Kuhn's avatar Manuela Kuhn
Browse files

Enabled metadata sending after file removal

parent fb3a2db7
......@@ -229,7 +229,7 @@ def finishDataHandling (log, targets, sourceFile, targetFile, metadata, openConn
#send message to metadata targets
if targets_metadata:
try:
__sendToTargets(log, targets_metadata, sourceFile, targetFile, openConnections, metadata, None, context)
__sendToTargets(log, targets_metadata, sourceFile, targetFile, openConnections, metadata, None, context, prop["timeout"])
log.debug("Passing metadata multipart-message for file " + str(sourceFile) + "...done.")
except:
......@@ -245,6 +245,15 @@ def finishDataHandling (log, targets, sourceFile, targetFile, metadata, openConn
prop["removeFlag"] = False
#send message to metadata targets
if targets_metadata:
try:
__sendToTargets(log, targets_metadata, sourceFile, targetFile, openConnections, metadata, None, context, prop["timeout"] )
log.debug("Passing metadata multipart-message for file " + str(sourceFile) + "...done.")
except:
log.error("Unable to send metadata multipart-message for file " + str(sourceFile), exc_info=True)
def clean (prop):
pass
......
Markdown is supported
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