-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add seconds unit to CSQL_PROXY_MAX_SIGTERM_DELAY value. (#611)
The sigterm delay duration needs to include the unit seconds (for example: `30s` instead of `30`). This will allow the value to be parsed as a golang duration. Fixes #610
- Loading branch information
1 parent
617810e
commit c4eb455
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -696,7 +696,7 @@ func TestProxyCLIArgs(t *testing.T) { | |
"CSQL_PROXY_PROMETHEUS": "true", | ||
"CSQL_PROXY_QUOTA_PROJECT": "qp", | ||
"CSQL_PROXY_MAX_CONNECTIONS": "10", | ||
"CSQL_PROXY_MAX_SIGTERM_DELAY": "20", | ||
"CSQL_PROXY_MAX_SIGTERM_DELAY": "20s", | ||
"CSQL_PROXY_IMPERSONATE_SERVICE_ACCOUNT": "[email protected],[email protected]", | ||
"CSQL_PROXY_QUIET": "true", | ||
"CSQL_PROXY_STRUCTURED_LOGS": "true", | ||
|