refactor: address latest review comments
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
+4
-2
@@ -31,14 +31,16 @@ export interface Config {
|
||||
lifecycle?: {
|
||||
/**
|
||||
* The maximum time that paused requests will wait for the service to start, before returning an error.
|
||||
* If you pass a number or string, it will be interpreted as milliseconds.
|
||||
* Defaults to 5 seconds.
|
||||
*/
|
||||
startupRequestPauseTimeout?: HumanDuration;
|
||||
startupRequestPauseTimeout?: number | string | HumanDuration;
|
||||
/**
|
||||
* The maximum time that the server will wait for stop accepting traffic, before returning an error.
|
||||
* If you pass a number or string, it will be interpreted as milliseconds.
|
||||
* Defaults to 30 seconds.
|
||||
*/
|
||||
shutdownRequestPauseTimeout?: HumanDuration;
|
||||
shutdownRequestDelayTimeout?: number | string | HumanDuration;
|
||||
};
|
||||
|
||||
/** Address that the backend should listen to. */
|
||||
|
||||
Reference in New Issue
Block a user