hiero-ledger / hiero-ledger/hiero-consensus-node

Return a more precise message when throttles have been exceeded.

Open
#13,649 2 comments 0 reactions 1 assignee Claimed by @lukelee-sl View on GitHub
Execution Team Team Promoted
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

### Problem

Currently, when a throttle was been exceeded, the node returns a `BUSY` message. The message can be made more useful if the returned message was more specific on which throttle was breached.

### Solution

Instead of returning a boolean value that indicates whether a throttle has been exceeded, return an enum to indicate which throttle was breached. This way a more informative status message can be returned to the caller.

### Alternatives

_No response_

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.