Skip to content

Document datasette.capped_time_limit_ms() - #3107

Merged
simonw merged 1 commit into
mainfrom
claude/wizardly-curie-avwld8
Nov 22, 2026
Merged

simonw merged 1 commit into
mainfrom
claude/wizardly-curie-avwld8

Conversation

@simonw

@simonw simonw commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

#3106 added datasette.capped_time_limit_ms()

Claude Fable 5.2 Medium

and moved the sql_time_limit_ms cap out of db.execute() and into its callers, but the method was not documented. Plugins that pass custom_time_limit= now need it to cap limits that should only shorten the default.

This is a documentation-only change:

  • New .capped_time_limit_ms(time_limit_ms) section in docs/internals.rst, after .setting(key).
  • The custom_time_limit description for db.execute() now links to it.
  • The existing changelog entry for the custom_time_limit change mentions the new method.

tests/test_docs.py passes.


Generated by Claude Code

Refs #3106

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016BvfqAwf2fkqWLZkyeLLAL
@codecov

codecov Bot commented Nov 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (56e02c1) to head (e475474).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3107   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         81      81           
  Lines      14585   14585           
=====================================
  Misses     14585   14585           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@simonw
simonw merged commit 927ae2b into main Nov 22, 2026
16 checks passed
@simonw
simonw deleted the claude/wizardly-curie-avwld8 branch November 22, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants