Constant tor_hsservice::publish::reactor::UPLOAD_RATE_LIM_THRESHOLD

source ยท
const UPLOAD_RATE_LIM_THRESHOLD: Duration;
Expand description

The upload rate-limiting threshold.

Before initiating an upload, the reactor checks if the last upload was at least UPLOAD_RATE_LIM_THRESHOLD seconds ago. If so, it uploads the descriptor to all HsDirs that need it. If not, it schedules the upload to happen UPLOAD_RATE_LIM_THRESHOLD seconds from the current time.