Skip to content

Use proper-lockfile optionally for auto-recovery from crashed processes #165

@albe

Description

@albe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions