[PR #9132] Switched to AsyncKeyedLock #11993

Closed
opened 2026-02-07 06:48:09 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/9132

State: closed
Merged: No


Switching the existing locking mechanism to use the AsyncKeyedLock library which has been heavily tested and benchmarked, offering superior performance and lower memory allocations (mainly due to the object pooling), while extra care ensured against race conditions.

Changes
The Jellyfin.Api now uses a more streamlined approach to locking concurrent tasks by key.

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/9132 **State:** closed **Merged:** No --- Switching the existing locking mechanism to use the AsyncKeyedLock library which has been heavily tested and benchmarked, offering superior performance and lower memory allocations (mainly due to the object pooling), while extra care ensured against race conditions. **Changes** The Jellyfin.Api now uses a more streamlined approach to locking concurrent tasks by key.
OVERLORD added the pull-request label 2026-02-07 06:48:09 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11993