Skip to content

client: make Kill() grace period configurable - #414

Open
yuanhaisu wants to merge 1 commit into
hashicorp:mainfrom
yuanhaisu:feat/configurable-kill-timeout
Open

yuanhaisu wants to merge 1 commit into
hashicorp:mainfrom
yuanhaisu:feat/configurable-kill-timeout

Conversation

@yuanhaisu

Copy link
Copy Markdown

Fixes #295

Add ClientConfig.KillTimeout so callers can wait longer than the
previous hardcoded 2 seconds for a plugin to exit cleanly. The zero
value keeps the existing 2-second default.

Fixes hashicorp#295
@yuanhaisu
yuanhaisu requested a review from a team as a code owner November 16, 2026 01:33
@hashicorp-cla-app

Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

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

Successfully merging this pull request may close these issues.

Client termination grace period should be configurable

1 participant