katex: Default the server on.

The memory costs are low (~60MB), and likely worth the stability.
This commit is contained in:
Alex Vandiver
2024-06-07 02:07:50 +00:00
committed by Tim Abbott
parent a73b8a34d9
commit bf9539386a
4 changed files with 10 additions and 8 deletions

View File

@@ -193,15 +193,15 @@ Defaults to 14 days.
#### `katex_server`
Set to a true value to run a separate service for [rendering math with
LaTeX](https://zulip.com/help/latex). This is not necessary except on servers
with users who send several math blocks in a single message; it will address
issues with such messages occasionally failing to send, at cost of a small
amount of increased memory usage.
Set to a false value to disable the separate service for [rendering math with
LaTeX](https://zulip.com/help/latex). Disabling this service will save a small
amount of memory, at the cost of making math blocks significantly slower to
render, to the point that using dozens of them in a single message may cause
the message to fail to send.
#### `katex_server_port`
Set to the port number for the KaTeX server, if enabled; defaults to port 9700.
Set to the port number for the KaTeX server; defaults to port 9700.
### `[postfix]`