refactor: apply more review suggestions

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-12-10 11:03:07 +01:00
parent 8397edc1bf
commit ba082fd507
10 changed files with 28 additions and 18 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ export interface Config {
*/
startupRequestPauseTimeout?: string | HumanDuration;
/**
* The maximum time that the server will wait for stop accepting traffic, before returning an error.
* Defaults to 30 seconds.
* The minimum time that the HTTP server will delay the shutdown of the backend. During this delay health checks will be set to failing, allowing traffic to drain.
* Defaults to 0 seconds.
* Supported formats:
* - A string in the format of '1d', '2 seconds' etc. as supported by the `ms`
* library.