Only hold the refresh lock for as long as is necessary and log lock attempts

Summary of Changes

Moves the lockfile to the refresh command only, and adds log statements before and after the lock is acquired. I've deployed this to ndip-test.

Checklist

  • The MR has a clear and concise title
  • Code is self-documented and follows style guidelines.
  • Automated tests are written and pass successfully.
  • Regression tests (e.g. manually triggered system tests, manual GUI/tool tests, ...) are performed to make sure the MR does not break anything (when applicable)
  • Readme file is present and up-to-date.

Documentation Updates

Additional Notes

Closes #150 (closed)

Merge request reports

Loading