CodeChain-io / CodeChain-io/codechain

Timer cancellation is not reliable

Aperta
#1,780 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
256
Fork
50
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.