Skip to content

Commit 51681fd

Browse files
Specify value units to avoid confusion
1 parent 1917886 commit 51681fd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/pages/reference/configuration/environment-variables.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,14 +1063,11 @@ option](/reference/configuration/config#schema_path).
10631063

10641064
## `CUBEJS_SERVER_HEADERS_TIMEOUT`
10651065

1066-
Limit the amount of time the parser will wait to receive the complete HTTP headers.
1066+
The number of milliseconds to limit the amount of time the parser will wait
1067+
to receive the complete HTTP headers.
10671068
If the timeout expires, the server responds with status 408 without
10681069
forwarding the request to the request listener and then closes the connection.
10691070

1070-
It must be set to a non-zero value (e.g. 120 seconds) to protect against
1071-
potential Denial-of-Service attacks in case the server is deployed without a
1072-
reverse proxy in front.
1073-
10741071
| Possible Values | Default in Development | Default in Production |
10751072
| ----------------------------------------- | ---------------------- | --------------------- |
10761073
| A valid number or string representing one | 60000 | 60000 |

0 commit comments

Comments
 (0)