datasette icon indicating copy to clipboard operation
datasette copied to clipboard

"Queries took" always 1.2 ms

Open commongeek opened this issue 1 year ago • 2 comments

In the footer, I always see "Queries took 1.2 ms." Is this hardcoded on line 920 of the views/table.py file?

    request.actor, "execute-sql", resolved.db.name
),
query_ms=1.2,
select_templates=[
    f"{'*' if template_name == template.name else ''}{template_name}"

commongeek avatar Nov 30 '24 17:11 commongeek

The problem disappeared after reinstalling miniforge and datasette...

commongeek avatar Dec 01 '24 09:12 commongeek

Ok, now I understand - this error occurs for me in version 1.0a16. In 0.65.1 it works correctly.

commongeek avatar Dec 01 '24 10:12 commongeek