Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make interrupting by Ctrl-C more reliable #72

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Make interrupting by Ctrl-C more reliable #72

merged 1 commit into from
Jun 21, 2024

Commits on Jun 21, 2024

  1. Make interrupting by Ctrl-C more reliable

    The retrying logic made Ctrl-C handling a bit broken,
    because the streams could be terminated only at the
    complete cycles. If a query retries for a long time
    it prevented terminating the program.
    
    This commit implements interruption logic in
    a different way, by using tokio::signal
    and tokio::select! so all streams are terminated
    immediately, regardless of their progress.
    pkolaczk committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    b936a3a View commit details
    Browse the repository at this point in the history