• David Vorick's avatar
    Make fsync optional when saving a file · 576598c5
    David Vorick authored
    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.
json_test.go 2.63 KB