flashbots / flashbots/rbuilder

Abrupt loops stop

Open
#797 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
567
Forks
209
PR merge metrics
No merged PRs in 30d

Description

On spawn_clickhouse_inserter and spawn_clickhouse_backup macros the main loop stops being polled abruptly when the shutdown signal is signaled.
This means 2 important things:
- We don't finish reading the final messages on our channels.
- We could have consistency problems since we could be stopping in the middle of the loop (on an await boundary).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.