mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Clean up compatibility with Pyodide (#1736)
* Optional uvicorn import for Pyodide, refs #1733 * --setting num_sql_threads 0 to disable threading, refs #1735
This commit is contained in:
parent
a29c127789
commit
3f00a29141
4 changed files with 42 additions and 4 deletions
|
|
@ -107,6 +107,8 @@ Maximum number of threads in the thread pool Datasette uses to execute SQLite qu
|
|||
|
||||
datasette mydatabase.db --setting num_sql_threads 10
|
||||
|
||||
Setting this to 0 turns off threaded SQL queries entirely - useful for environments that do not support threading such as `Pyodide <https://pyodide.org/>`__.
|
||||
|
||||
.. _setting_allow_facet:
|
||||
|
||||
allow_facet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue