Skip to content

fix yarr lock logger

The yarr file-lock was flooding the log with useless messages. I changed the message to just appear as a status at the bottom of the console, which provides a nice visual that something is happening when the scans are churning through numerous yarr calls. I also removed the wait times for displaying the status messages, which sped up the qc runs.

The effect of the built-in yarr-wrapper on the timing of the Analog-Readback was tested when 4 modules were running in parallel with an additional lock-file wrapper bash script:

  • Before using the built-in Yarr-wrapper in mqt: took 1 hr 54 min
  • After using the built-in Yarr-wrapper (but before this MR): took 2 hr 30 min
  • After using the built-in Yarr-wrapper (and with this MR): took 2 hr 7 min
Edited by Deion Elgin Fellers

Merge request reports

Loading