Skip to content

Commit

Permalink
Updated 1 files
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-nightly[bot] authored Jun 21, 2024
1 parent c69ad4e commit 0f0a34d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sweepai/chat/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,9 @@ def wrapper(
return result
return wrapper

@auth_cache.memoize(expire=None)
def get_cached_installation_id(org_name: str) -> str:
return get_installation_id(org_name)

@auth_cache.memoize(expire=60 * 10)
def get_github_client_from_org(org_name: str) -> tuple[str, CustomGithub]:
return get_github_client(get_cached_installation_id(org_name))

Expand Down

0 comments on commit 0f0a34d

Please sign in to comment.