mirror of
https://github.com/simonw/datasette.git
synced 2026-10-19 15:56:58 +02:00
Limit total facet suggestion time per page (#862)
This commit is contained in:
parent
cec5e6b2ef
commit
24ebe149d6
4 changed files with 163 additions and 4 deletions
|
|
@ -284,6 +284,10 @@ Default: ``50``
|
|||
|
||||
When Datasette calculates suggested facets it needs to run a SQL query for every column in your table. This time limit, in milliseconds, applies separately to each query. If the time limit is exceeded the column will not be suggested as a facet.
|
||||
|
||||
Facet suggestions for a page stop after ten times this limit in total. Any
|
||||
suggestions found before the total limit are still returned. A value of ``0``
|
||||
disables this total limit.
|
||||
|
||||
You can increase this time limit like so::
|
||||
|
||||
datasette mydatabase.db --setting facet_suggest_time_limit_ms 500
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue