metrics-mvp
metrics-mvp copied to clipboard
Fix file write concurrency
Fixes #565.
Proposed changes
Using native python module fcntl
to put locks on writing data to a file. This way we can prevent multiple processes writing to the same file simultaneously and erasing each other's data.