mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Add timeout to Keycloak operations and convert OfflineTokenStore to async (#13096)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -246,7 +246,6 @@ class ProviderHandler:
|
||||
"""
|
||||
Get repositories from providers
|
||||
"""
|
||||
|
||||
if selected_provider:
|
||||
if not page or not per_page:
|
||||
raise ValueError('Failed to provider params for paginating repos')
|
||||
|
||||
@@ -89,7 +89,6 @@ async def get_user_repositories(
|
||||
external_auth_token=access_token,
|
||||
external_auth_id=user_id,
|
||||
)
|
||||
|
||||
try:
|
||||
return await client.get_repositories(
|
||||
sort,
|
||||
|
||||
Reference in New Issue
Block a user