From b252bdb7404de88b4fa6f5495a83a712201a12ce Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 4 Jun 2018 18:45:47 -0700 Subject: [PATCH] Documented how to set multiple --config at once --- docs/config.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/config.rst b/docs/config.rst index fe974a8f..8f0cd246 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -5,6 +5,12 @@ Configuration Datasette provides a number of configuration options. These can be set using the ``--config name:value`` option to ``datasette serve``. +You can set multiple configuration options at once like this:: + + datasette mydatabase.db --config default_page_size:50 \ + --config sql_time_limit_ms:3500 \ + --config max_returned_rows:2000 + To prevent rogue, long-running queries from making a Datasette instance inaccessible to other users, Datasette imposes some limits on the SQL that you can execute. These are exposed as config options which you can over-ride. default_page_size