Update .pre-commit-config.yaml (#69)
* Update .pre-commit-config.yaml * Reformat --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
parent
6bef6117fc
commit
1ba3bff5bc
@@ -21,7 +21,7 @@ repos:
|
||||
hooks:
|
||||
- id: prettier
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.3.0
|
||||
rev: 23.7.0
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
|
||||
@@ -34,11 +34,9 @@ def max_connections(value: int) -> Optional[int]:
|
||||
if not max_supported or value <= max_supported:
|
||||
return value
|
||||
logger.warning(
|
||||
(
|
||||
"MaxConnections value is too high. "
|
||||
"Your OS supports a maximum of %d. "
|
||||
"The config value will be ignored and %d will be used."
|
||||
),
|
||||
"MaxConnections value is too high. "
|
||||
"Your OS supports a maximum of %d. "
|
||||
"The config value will be ignored and %d will be used.",
|
||||
max_supported,
|
||||
max_supported,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user