Skip to content

Make fsync optional when saving a file

David Vorick requested to merge fsync-two-calls into master

Fsync is really slow, to the point that it was causing signficant performance issues. Instead of file saving calling fsync by default for everything, fsync is only called for user action and for really important action that pertains to monetary changes or changes to network contracts. The result should be a significantly faster siad.

Merge request reports