You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,7 @@ You can pass the following options via CLI arguments. You can also use `--config
165
165
| Set the prefix |`-x`|`--prefix`|`FASTIFY_PREFIX`|
166
166
| Set the plugin timeout |`-T`|`--plugin-timeout`|`FASTIFY_PLUGIN_TIMEOUT`|
167
167
| Defines the maximum payload, in bytes,<br>that the server is allowed to accept ||`--body-limit`|`FASTIFY_BODY_LIMIT`|
168
+
| Set the maximum ms delay before forcefully closing pending requests after receiving SIGTERM or SIGINT signals; and uncaughtException or unhandledRejection errors (default: 500) |`-g`|`--close-grace-delay`|`FASTIFY_CLOSE_GRACE_DELAY`|
168
169
169
170
By default `fastify-cli` runs [`dotenv`](https://www.npmjs.com/package/dotenv), so it will load all the env variables stored in `.env` in your current working directory.
0 commit comments