Companion

object Companion

Properties

Link copied to clipboard
const val BY_CEILING: String
Link copied to clipboard
const val BY_RATE: String
Link copied to clipboard
const val PER_TARGET: Int

The most operations outstanding per target: a few thousand connections a node accepts at once.

Functions

Link copied to clipboard
fun of(rate: Double, timeout: Duration, targets: Int, perTarget: Int = PER_TARGET): InFlightCap

The cap of a run at rate a second, of requests timing out after timeout, over targets targets.