datasette/tests
Simon Willison cef9a9a870
--limit= mechanism plus new limits for facets
Replaced the --max_returned_rows and --sql_time_limit_ms options to
"datasette serve" with a new --limit option, which supports a larger
list of limits.

Example usage:

	datasette serve --limit max_returned_rows:1000 \
		--limit sql_time_limit_ms:2500 \
		--limit default_facet_size:50 \
		--limit facet_time_limit_ms:1000 \
		--limit facet_suggest_time_limit_ms:500

New docs: https://datasette.readthedocs.io/en/latest/limits.html

Closes #270
Closes #264
2018-05-17 22:08:26 -07:00
..
__init__.py Broke up test_app into test_api and test_html 2017-12-15 04:08:24 -08:00
fixtures.py --limit= mechanism plus new limits for facets 2018-05-17 22:08:26 -07:00
test_api.py Foreign key facets are now expanded to labels, refs #255 2018-05-16 08:27:24 -07:00
test_html.py Reliable sort order for facets in Python 3.5, fixing test - refs #255 2018-05-16 08:27:24 -07:00
test_inspect.py Mark FTS-related tables as 'hidden' in inspect() 2017-11-21 12:55:59 -08:00
test_utils.py Foreign key facets are now expanded to labels, refs #255 2018-05-16 08:27:24 -07:00