mercure-imaging / mercure

mercure DICOM Orchestrator
https://mercure-imaging.org
MIT License
66 stars 32 forks source link

filecount never updated #79

Open dmd opened 2 months ago

dmd commented 2 months ago

According to the documentation the metric mercure.master.router.main.incoming.files reports "Number of received DICOM files waiting in the incoming folder".

I believe this is supposed to be implemented here: https://github.com/mercure-imaging/mercure/blob/686ea40adaaa5ca915f9b50c23abb04858c51cd0/router.py#L111

However, the variable filecount is initialized to 0 here: https://github.com/mercure-imaging/mercure/blob/686ea40adaaa5ca915f9b50c23abb04858c51cd0/router.py#L37

and then never updated anywhere else in all of mercure.