Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: new 'max-sigterm-delay' flag #1189

Open
magiccrafter opened this issue Nov 17, 2023 · 0 comments
Open

feature request: new 'max-sigterm-delay' flag #1189

magiccrafter opened this issue Nov 17, 2023 · 0 comments

Comments

@magiccrafter
Copy link

The --max-sigterm-delay flag is crucial for microservices that require a graceful shutdown period to ensure ongoing transactions are completed successfully. This flag allows the microservice to remain operational for a specified duration after receiving a termination signal (SIGTERM), granting sufficient time for its database connector to remain active and handle pending transactions.

flag description
--max-sigterm-delay Maximum number of seconds to wait for connections to close after receiving a TERM signal.

Disclaimer: The name of the flag and the description are copied from the https://github.com/GoogleCloudPlatform/cloud-sql-proxy

Implementing this feature will smoothen the transition from Postgres to Spanner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant