Skip to content

--limit= CLI option for setting limits #270

@simonw

Description

@simonw

#264 calls for four new datasette limit options, on top of the two existing ones:

  • --max_returned_rows
  • --sql_time_limit_ms

These are already clogging up datasette serve --help a bit.

How about this syntax instead?

datasette --limit max_returned_rows:100 \
    --limit facet_timeout_ms:500 demo.db

Then we can add as many new user over-rideable limits as we like without clogging up --help too much - though it would be good to have a way of optionally listings their documentation as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions