Feature Request: Time out long running queries

Open
#594 1 comment 0 reactions 1 assignee View on GitHub

@knewbury01 is already working on this.

Since May 28, 2024.

Assessment

This issue has not been assessed yet.

Description

enhancement

There is a --timeout option that can be passed to the "database analyze" step but it is not an effective way to limit the total amount of time the query evaluation can take (as mentioned already). Is it possible to have a timeout option that can prevent a query to run beyond a user configured time limit? This would greatly help in situations where users are blocked by long running queries.

Dominant language
CodeQL
Stars
227
Forks
82
Avg merge
6d 7h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/codeql-coding-standards

All issues in github/codeql-coding-standards

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.