Arne Wendt
fde8d3f3c8
storage.js: check fsync capability from return code rather than using `process.platform` heuristics
...
- silently accept (in)capability to fsync directories based on actual storage backend/driver behavior and capabilities; evaluate error codes rather than `process.platform` heuristics
- make byline test run with windows line endings to validate storage behavior on windows
- add shebang in EMFILE exhaustion test
3 years ago
mehdi
8b984f1274
extract writeFileLines into its own function
3 years ago
mehdi
148d7c8215
fix error callbacks
3 years ago
mehdi
8c4f56a04a
streaming write with `Readable.from`
3 years ago
eliot-akira
7404ee1bc2
Stream lines using setImmediate to ensure it doesn't block event loop
3 years ago
eliot-akira
af1d64f6c2
Write new line separately, instead of adding to line string
3 years ago
eliot-akira
fc1d0e0aa3
Write file line by line when persisting cached database
3 years ago
eliot-akira
a67622dcf7
Stream files line by line when parsing to avoid memory limits
...
Based on https://github.com/louischatriot/nedb/pull/463
3 years ago
Timothée Rebours
e8cba5273a
cleanup code
4 years ago
Timothée Rebours
a4cd69f5c6
re-make the build process with webpack, swicth to Karma for the browser tests, bumps all dependencies except , remove bower.json, remove browser build from repo (will be published on npm though)
4 years ago
Timothée Rebours
185ae680b8
standard everything except browser-version
4 years ago
Louis Chatriot
6d1f9cf20f
Back to my style in flush
9 years ago
James M. Greene
aefe40d0a5
Housekeeping!
9 years ago
Louis Chatriot
94cac41acb
Fix for windows
9 years ago
Louis Chatriot
fea5c25807
Always close file even if fsync fails
9 years ago
Louis Chatriot
b69c8a2c2b
Unnecessary fs call
9 years ago
Louis Chatriot
6884f83df8
Redis AOF-style fsync
9 years ago
Louis Chatriot
a12ec8b89e
Load tests
9 years ago
Louis Chatriot
cf4f1f58d4
Hopefully-temp fix for windos
9 years ago
Louis Chatriot
c927524a52
Flush data after both writes and fix a test
9 years ago
Louis Chatriot
94f7caf0b8
Chmod
9 years ago
Louis Chatriot
caeb189326
Use localforage instead of localStorage
9 years ago
Louis Chatriot
d1e6d14b53
Moved all crash safe operations to storage
9 years ago
Louis Chatriot
d5958cce91
mkdirp put in storage module
10 years ago
Louis Chatriot
b0e3ceb1a6
Forked storage.js
10 years ago