aboutsummaryrefslogtreecommitdiff
path: root/doc/pandoc-server.md
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-08-18 22:33:19 -0700
committerJohn MacFarlane <[email protected]>2022-08-18 22:33:19 -0700
commitd3aa51b1ee05163912372cd34863264f74650c97 (patch)
tree85dac95a27f36729646094e75946be474dfab681 /doc/pandoc-server.md
parent5092292217a2554ebc9c20294b1ee5a694d05b2f (diff)
pandoc-server.cgi: allow setting timeout
via PANDOC_SERVER_TIMEOUT environment variable.
Diffstat (limited to 'doc/pandoc-server.md')
-rw-r--r--doc/pandoc-server.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/pandoc-server.md b/doc/pandoc-server.md
index a41f13ab7..9977fe70e 100644
--- a/doc/pandoc-server.md
+++ b/doc/pandoc-server.md
@@ -42,6 +42,9 @@ does, however, impose certain limitations:
`--timeout SECONDS`
: Timeout in seconds, after which a conversion is killed. Default: 2.
+ When `pandoc-server` is run as a CGI program, this option
+ can be set via the `PANDOC_SERVER_TIMEOUT` environment variable.
+
`--help`
: Print this help.