Skip to content

Commit

Permalink
Add new env vars for 2.0.0-beta2 (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhghomon authored Sep 5, 2024
1 parent dc3b823 commit ede9efd
Showing 1 changed file with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,41 @@ Environment variables can be used to tailor the behaviour of a running SurrealDB
<td scope="row" data-label="Default">false</td>
<td scope="row" data-label="Notes">Enables experimental graphql integration. Still under active development. Using this experimental feature may introduce risks related to breaking changes and security issues.</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_HTTP_MAX_ML_BODY_SIZE</code></td>
<td scope="row" data-label="Default">4398046511104 (4 GiB)</td>
<td scope="row" data-label="Notes">Maximum HTTP body size of the HTTP /ml endpoints</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_HTTP_MAX_SQL_BODY_SIZE</code></td>
<td scope="row" data-label="Default">1048576 (1 MiB)</td>
<td scope="row" data-label="Notes">Maximum HTTP body size of the HTTP /sql endpoint</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_HTTP_MAX_RPC_BODY_SIZE</code></td>
<td scope="row" data-label="Default">4194304 (4 MiB)</td>
<td scope="row" data-label="Notes">Maximum HTTP body size of the HTTP /rpc endpoint</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_HTTP_MAX_KEY_BODY_SIZE</code></td>
<td scope="row" data-label="Default">16384 (16 KiB)</td>
<td scope="row" data-label="Notes">Maximum HTTP body size of the HTTP /key endpoints</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_HTTP_MAX_SIGNUP_BODY_SIZE</code></td>
<td scope="row" data-label="Default">1024 (1 KiB)</td>
<td scope="row" data-label="Notes">Maximum HTTP body size of the HTTP /signup endpoint.</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_HTTP_MAX_SIGNIN_BODY_SIZE</code></td>
<td scope="row" data-label="Default">1024 (1 KiB)</td>
<td scope="row" data-label="Notes">The maximum HTTP body size of the HTTP /signin endpoints</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_HTTP_MAX_IMPORT_BODY_SIZE</code></td>
<td scope="row" data-label="Default">4398046511104 (4 GiB)</td>
<td scope="row" data-label="Notes">Maximum HTTP body size of the HTTP /import endpoints</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code> SURREAL_INSECURE_FORWARD_ACCESS_ERRORS </code></td>
<td scope="row" data-label="Default">false</td>
Expand Down Expand Up @@ -80,6 +115,16 @@ Environment variables can be used to tailor the behaviour of a running SurrealDB
<td scope="row" data-label="Default">10485760 (10 MiB)</td>
<td scope="row" data-label="Notes">Runtime thread memory stack size. Stack size is doubled if compiled from source in Debug mode.</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_SCRIPTING_MAX_MEMORY_LIMIT</code></td>
<td scope="row" data-label="Default">262144 (256 KiB)</td>
<td scope="row" data-label="Notes">Maximum stack size of the JavaScript function runtime.</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_SCRIPTING_MAX_STACK_SIZE</code></td>
<td scope="row" data-label="Default">2097152 (2 MiB)</td>
<td scope="row" data-label="Notes">Maximum memory limit of the JavaScript function runtime.</td>
</tr>
<tr>
<td scope="row" data-label="Env var"><code>SURREAL_TRANSACTION_CACHE_SIZE</code></td>
<td scope="row" data-label="Default">10000</td>
Expand Down

0 comments on commit ede9efd

Please sign in to comment.