# Functions
GetLimitFromParameter takes an interface type as decoded from the YAML configuration and returns a uint64 representing the maximum number of concurrent calls given a minimum limit and default.
NewRegulator wraps the given driver and is used to regulate concurrent calls to the given storage driver to a maximum of the given limit.