Skip to content
Snippets Groups Projects
Commit 78b79850 authored by deuce's avatar deuce
Browse files

Ensure we delete "reduced flow files".

parent c34d7f87
No related branches found
No related tags found
No related merge requests found
......@@ -423,6 +423,14 @@ function callout_done(bp, semaphores)
});
}
});
// Remove flow files that have been completly processed.
Object.keys(bp.cb_data.binkit_flow_contents).forEach(function(flo) {
if (file_exists(flo)) {
if (bp.cb_data.binkit_flow_contents[flo].length == 0)
file_remove(flo);
}
});
}
function callout(addr, scfg, semaphores)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment