get_hypersync_rpm_from_env

Documentation for eth_defi.hypersync.session.get_hypersync_rpm_from_env function.

get_hypersync_rpm_from_env()

Read HYPERSYNC_RPM from the environment.

Returns DEFAULT_HYPERSYNC_REQUESTS_PER_MINUTE when the variable is unset or blank. Raises ValueError with a clear message when a non-empty value cannot be parsed as an integer.

Return type

int