mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
If the user requests some _facet= options that do not successfully execute in
the configured facet_time_limit_ms, we now show a warning message like this:
These facets timed out: rowid, Title
To build this I had to clean up our SQLite interrupted logic. We now raise a
custom InterruptedError exception when SQLite terminates due to exceeding a
time limit.
In implementing this I found and fixed a logic error where invalid SQL was
being generated in some cases for our faceting calculations but the resulting
sqlite3.OperationalError had been incorrectly captured and treated as a
timeout.
Refs #255
Closes #269
|
||
|---|---|---|
| .. | ||
| 500.html | ||
| _codemirror.html | ||
| _codemirror_foot.html | ||
| _description_source_license.html | ||
| _rows_and_columns.html | ||
| base.html | ||
| database.html | ||
| index.html | ||
| query.html | ||
| row.html | ||
| show_json.html | ||
| table.html | ||