mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +00:00
Fix credential release on deleted profile and round 3 review items.
Store credential Redis keys at reserve so release works when the profile row is deleted. Return reserve failure reasons to avoid fingerprint DB queries on logging paths. Document unlimited profile bypass in pool logic and Server Group UI. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
6e07dce3f1
commit
abdf2d7864
7 changed files with 123 additions and 35 deletions
|
|
@ -745,7 +745,9 @@ class MultiWorkerVODConnectionManager:
|
|||
from apps.m3u.connection_pool import reserve_profile_slot
|
||||
|
||||
try:
|
||||
reserved, new_count = reserve_profile_slot(m3u_profile, self.redis_client)
|
||||
reserved, new_count, _failure_reason = reserve_profile_slot(
|
||||
m3u_profile, self.redis_client
|
||||
)
|
||||
if reserved:
|
||||
logger.info(
|
||||
f"[PROFILE-RESERVE] Profile {m3u_profile.id} slot reserved: "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue