matrix-react-sdk
b2d4639e - Use fsync in reskindex to ensure file is written to disk

Commit
5 years ago
Use fsync in reskindex to ensure file is written to disk This should (hopefully) resolve occasional errors where the rename step would fail because the temporary file did not exist. In addition, this also exits with an error code if something goes wrong so we notice it early, rather than having to scroll through pages of logs at release time.
Author
Parents
Loading