crate / crate/crash

Add "keep alive" mechanism

Open
#371 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
49
Forks
16
PR merge metrics
No merged PRs in 30d

Description

It would be nice to have a "keep alive" mechanism that periodically checks if the connection(s) to the defined host(s) is/are active and through an exception after a timeout or an x times timeout and disconnect.

This way a user won't potentially wait for "infinite" time, for a long running query to return, if in between the connection(s) is completely lost (cluster is down, etc.).

Contributor guide

Open the contributing guide

Research direction

Start by tracing the CLI's query execution and connection-handling entry points; the issue does not name files or tests. Clarify the timeout, retry-count, exception, and disconnect behavior, then define completion around detecting lost connections during long-running queries without waiting indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sql
Domain
cli, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.