jjlj
This commit is contained in:
@@ -1411,7 +1411,7 @@ def get_client(config: dict[str, Any]) -> HydrusClient:
|
||||
cached_client = _hydrus_client_cache[cache_key]
|
||||
# If cached client has a session key, reuse it (don't re-acquire)
|
||||
if hasattr(cached_client, '_session_key') and cached_client._session_key:
|
||||
debug(f"Reusing cached session key for {hydrus_url}")
|
||||
# debug(f"Reusing cached session key for {hydrus_url}")
|
||||
return cached_client
|
||||
# If no session key in cache, try to get one
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user