Following #155, which provides a manual process to recover from a crashed write process, a way to make this (semi-)automatic would be to use proper-lockfile as the locking mechanism and do the checkTornWrites() when a stale lock is reclaimed. The library is still missing a callback for that case though, so this would need to be manually implemented.
Following #155, which provides a manual process to recover from a crashed write process, a way to make this (semi-)automatic would be to use proper-lockfile as the locking mechanism and do the
checkTornWrites()when a stale lock is reclaimed. The library is still missing a callback for that case though, so this would need to be manually implemented.