hyperledger-archives / iroha

Iroha - A simple, decentralized ledger
http://iroha.tech
Apache License 2.0
988 stars 298 forks source link

Alternative way to fix busy waiting in tx status stream loop #2104

Closed MBoldyrev closed 5 years ago

MBoldyrev commented 5 years ago

Signed-off-by: Mikhail Boldyrev miboldyrev@gmail.com

Description of the Change

This is an alternative approach to implement the idea of #2101.

Benefits

No external source copy-paste. No useless wakeups when an event is scheduled after next planned wakeup.

Possible Drawbacks

Need to test under load.

Usage Examples or Tests [optional]

Please refer to #2101.

neewy commented 5 years ago

We need to cover new operator with a test