Skip to content

Commit

Permalink
AAC-699 - Remove HTTP2 setting (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
pking-moj authored Jun 14, 2022
1 parent 7c45f47 commit 6514fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from circuitbreaker import circuit

logger = structlog.get_logger(__name__)
http_client = httpx.AsyncClient(http2=True, timeout=15.0)
http_client = httpx.AsyncClient(timeout=15.0)


class CourtDataAdaptorClient:
Expand Down
2 changes: 1 addition & 1 deletion laa_court_data_api_app/internal/oauth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def retrieve_token(self) -> TokenResponse:
logger.debug("OAuth_Retrieving_token")
if self.token is None or self.token_has_expired():
logger.debug("Token_expired_or_missing")
async with httpx.AsyncClient(base_url=self.settings.cda_endpoint, http2=True) as client:
async with httpx.AsyncClient(base_url=self.settings.cda_endpoint) as client:
response = await client.post("/oauth/token", data=self.generate_params(self.settings))
if response.status_code == 200:
logger.debug("Token_Retrieved_From_Service")
Expand Down

0 comments on commit 6514fc2

Please sign in to comment.