Skip to content

feat: Configurable server-side query timeout #1641

Closed

Description

@shikharbhardwaj

When running complex queries over large haystacks, a way to bound the query execution time with proper cancellation propagation to datafusion would be useful.

Based on my (cursory and AI-assisted) reading of the code, since datafusion already uses Tokio's cooperative task scheduling system, wrapping the query execution in a tokio::time::timeout(...) should work. Happy to contribute a PR for this or other ideas that would allow a bounded query time.

Activity

  1. coderabbitai commented on May 5, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #1393 - Update mod.rs [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. nikhilsinhaparseable commented on May 5, 2026

    @nikhilsinhaparseable
    Member

    @shikharbhardwaj you can work on it and send the PR, will be glad to review the PR

  3. nitisht commented on Jun 17, 2026

    @nitisht
    Member

    Fixed by #1683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions