Skip to content

rpc: Implement leaky bucket in RPC timeout

Dagur Valberg Johannsson requested to merge dagurval/rostrum:leaky into master

Rather than allowing every RPC call a fixed amount of time, this allows user to use "bursts" up to a limit.

This "burst" bucket them refills at 500ms/second. If user has exceeded his allotment, then he will be limited to 250ms pre request.

Merge request reports