Skip to content

Commit 474612d

Browse files
committed
feat(DEVC-1752): fix format
1 parent be9cb65 commit 474612d

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/corva/api_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ def get_retry_strategy(max_retries: int) -> Retry:
2424

2525

2626
def get_requests_session(
27-
pool_connections_count: int,
28-
pool_max_size: int,
29-
pool_block: bool,
30-
retry_strategy: Optional[Retry] = None,
27+
pool_connections_count: int,
28+
pool_max_size: int,
29+
pool_block: bool,
30+
retry_strategy: Optional[Retry] = None,
3131
) -> requests.Session:
3232
adapter = HTTPAdapter(
3333
max_retries=retry_strategy,

src/corva/configuration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ class Settings(pydantic.BaseSettings):
2424
SECRETS_CACHE_TTL: int = int(datetime.timedelta(minutes=5).total_seconds())
2525

2626
# keep-alive
27-
POOL_CONNECTIONS_COUNT: int = 20 # Total pools count
28-
POOL_MAX_SIZE: int = 20 # Max connections count per pool/host
29-
POOL_BLOCK: bool = True # Wait until connection released
27+
POOL_CONNECTIONS_COUNT: int = 20 # Total pools count
28+
POOL_MAX_SIZE: int = 20 # Max connections count per pool/host
29+
POOL_BLOCK: bool = True # Wait until connection released
3030

3131
# retry
32-
MAX_RETRY_COUNT: int = 3 # If `0` then retires will be disabled
32+
MAX_RETRY_COUNT: int = 3 # If `0` then retires will be disabled
3333

3434

3535
SETTINGS = Settings()

0 commit comments

Comments
 (0)