Skip to content

1.1.1

Latest

Choose a tag to compare

@comosense comosense released this 25 Mar 00:52
· 11 commits to main since this release
97677bd

Release v1.1.1: Improved Stability and Atomic File Operations

Summary

This release focuses on improving the overall stability and fault tolerance of nnnvr, ensuring it can recover more gracefully from unexpected system shutdowns or power failures.

Key Changes

  • Atomic File Operations
    File writing processes have been upgraded to use atomic operations. This prevents critical configuration or lock files from becoming corrupted if the system crashes or loses power during a write operation.

  • Smarter Lock File Management
    The application lock file nnnvr.lock is now created in the system's temporary directory by default, rather than the working directory. This effectively resolves issues where stale lock files prevent the NVR from starting after a hard reboot.

  • Configuration Changes
    Updated README.md to include the new tempDir parameter in the Configuration section.
    You can now optionally specify a tempDir in your nnnvr.json:

{
    "tempDir": "/dev/shm/nnnvr",
    "streams": [ ... ]
}

(If omitted, nnnvr will automatically use your OS's default temporary directory.)