v4.2.1
SagerNet/sing-boxv4.2.1Aug 22, 2025by ravitemer
AI Summary
A maintenance release addressing deadlock issues in workspace caching by improving lock file handling and retry mechanisms.
Key Highlights
- Improved workspace cache locking to prevent deadlocks
- Increased lock retry delay
- Automatic stale lock cleanup
Full Release Notes
### Fixed - **Workspace Cache Locking**: Improved lock file handling to prevent persistent deadlocks - Increased lock retry delay from 50ms to 100ms for better stability - Added automatic stale lock file cleanup after maximum retry attempts - Implemented recursive retry mechanism with infinite loop protection - Enhanced error messaging and logging for lock acquisition failures - Resolves issue where crashed processes could leave persistent lock files blocking new hub instances