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
-`NITRO_SHUTDOWN_TIMEOUT` - Sets the amount of time (in milliseconds) before a forced shutdown occurs. Defaults to `'30000'` milliseconds.
Specify a default of 30000 and a unit of milliseconds.
The Problem wouldn't be that big if the default between dev and prod would be different. but the unit is different. therefore using NITRO_SHUTDOWN_TIMEOUT is impossible
This issue persists both in v2 and v3
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered:
Environment
not relevant
Reproduction
not relevant
Describe the bug
Here:
nitro/src/core/dev-server/server.ts
Line 310 in 2ebb0e3
The default for
NITRO_SHUTDOWN_TIMEOUT
is 3. And the Unit is seconds.Here:
nitro/src/runtime/internal/shutdown.ts
Line 12 in 2ebb0e3
The default for
NITRO_SHUTDOWN_TIMEOUT
is 30_000. And the Unit is milliseconds.The docs:
nitro/docs/2.deploy/10.runtimes/1.node.md
Line 38 in 2ebb0e3
Specify a default of 30000 and a unit of milliseconds.
The Problem wouldn't be that big if the default between dev and prod would be different. but the unit is different. therefore using
NITRO_SHUTDOWN_TIMEOUT
is impossibleThis issue persists both in v2 and v3
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: