hashgraph / hedera-sdk-rust

The Hedera™ Rust SDK
Apache License 2.0
43 stars 14 forks source link

Enhance node unhealthiness to be determined with a backoff instead of a fixed time #697

Closed mehcode closed 1 year ago

mehcode commented 1 year ago

Problem

Currently a node is unhealthy for a fixed 30 minutes. Nodes in Hedera can be very fragile. Treating every issue as a node being down for 30 minutes can cause the whole network to come down quickly in a client. Other SDKs start at 250ms and backoff based on successive ticks of "being unhealthy" up to an hour.

Solution

Use a backoff instead of a fixed timeout.

Alternatives

No response