Hardhat.Middleware.Regulator (hardhat v1.1.0)

Limits concurrent requests to the server based on a loss based dynamic limit algorithm. Additively increases the concurrency limit when there are no errors and multiplicatively decrements the limit when there are errors.

This middleware is part of the default stack when giving the strategy: :regulator option to use Hardhat.

See also: