Skip to content

Commit 1a93e58

Browse files
committed
sync docs
1 parent c85eeea commit 1a93e58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/svelte.dev/content/docs/kit/25-build-and-deploy/40-adapter-node.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ By default `adapter-node` gracefully shuts down the HTTP server when a `SIGTERM`
187187

188188
1. reject new requests ([`server.close`](https://nodejs.org/api/http.html#serverclosecallback))
189189
2. wait for requests that have already been made but not received a response yet to finish and close connections once they become idle ([`server.closeIdleConnections`](https://nodejs.org/api/http.html#servercloseidleconnections))
190-
3. and finally, close any remaining connections that are still active after [`SHUTDOWN_TIMEOUT`](#Environment-variables-SHUTDOWN-TIMEOUT) seconds. ([`server.closeAllConnections`](https://nodejs.org/api/http.html#servercloseallconnections))
190+
3. and finally, close any remaining connections that are still active after [`SHUTDOWN_TIMEOUT`](#Environment-variables-SHUTDOWN_TIMEOUT) seconds. ([`server.closeAllConnections`](https://nodejs.org/api/http.html#servercloseallconnections))
191191

192192
> [!NOTE] If you want to customize this behaviour you can use a [custom server](#Custom-server).
193193
@@ -205,7 +205,7 @@ The parameter `reason` has one of the following values:
205205

206206
- `SIGINT` - shutdown was triggered by a `SIGINT` signal
207207
- `SIGTERM` - shutdown was triggered by a `SIGTERM` signal
208-
- `IDLE` - shutdown was triggered by [`IDLE_TIMEOUT`](#Environment-variables-IDLE-TIMEOUT)
208+
- `IDLE` - shutdown was triggered by [`IDLE_TIMEOUT`](#Environment-variables-IDLE_TIMEOUT)
209209

210210
## Socket activation
211211

@@ -215,7 +215,7 @@ Most Linux operating systems today use a modern process manager called systemd t
215215
216216
To take advantage of socket activation follow these steps.
217217

218-
1. Run your app as a [systemd service](https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html). It can either run directly on the host system or inside a container (using Docker or a systemd portable service for example). If you additionally pass an [`IDLE_TIMEOUT`](#Environment-variables-IDLE-TIMEOUT) environment variable to your app it will gracefully shutdown if there are no requests for `IDLE_TIMEOUT` seconds. systemd will automatically start your app again when new requests are coming in.
218+
1. Run your app as a [systemd service](https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html). It can either run directly on the host system or inside a container (using Docker or a systemd portable service for example). If you additionally pass an [`IDLE_TIMEOUT`](#Environment-variables-IDLE_TIMEOUT) environment variable to your app it will gracefully shutdown if there are no requests for `IDLE_TIMEOUT` seconds. systemd will automatically start your app again when new requests are coming in.
219219

220220
```ini
221221
/// file: /etc/systemd/system/myapp.service

0 commit comments

Comments
 (0)