CodeChain-io / CodeChain-io/codechain

Timer cancellation is not reliable

Offen
#1,780 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Rust
Sterne
256
Forks
50
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

We detect whether the timer was canceled in ad-hoc ways.
Especially, if a lock is involved, the situation is not desirable.
This commit addresses that: https://github.com/CodeChain-io/codechain/commit/96f7f942f3021b4154a5da14bbd7680c1e080200

We need a regular mechanism to know fired timeout is canceled, not by ad-hoc devised ways if we can't control it.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.