Belphemur / json-db-node-red

Node-RED Node to store easilly
GNU General Public License v3.0
5 stars 17 forks source link

Allow setting syncOnSave #9

Closed drproktor closed 1 year ago

drproktor commented 2 years ago

Hi Antoine, I just realized that you are also the maintainer of the original JsonDB node-red package. Thanks for the great work!

I am a bit confused about which of the json-db-node-red and node-red-contrib-json-db packages is actively maintained, but since I am happily using your json-db-node-red package I figured its best to contribute here ;-)

This PR enables the fsync() save of this PR https://github.com/Belphemur/node-json-db/issues/371 for the node-red node. Again the default behavior is unchanged. In addition to this change updated the used JsonDB version.