Companion

Properties

Link copied to clipboard
const val DEFAULT_CONCURRENCY: Int = 16
Link copied to clipboard
Link copied to clipboard
const val DEFAULT_MAX_ATTEMPTS: Int = 5

The most times a request is sent, the first included: 50 + 100 + 200 + 400 ms of backoff in all.

Link copied to clipboard
const val DEFAULT_MAX_BATCH: Int = 64
Link copied to clipboard
Link copied to clipboard

The wait before a failed request is sent again the first time.

Link copied to clipboard

The longest wait between two attempts of a request.

Link copied to clipboard
const val WARN_EVERY: Long = 100

A drop is logged at WARN the first time and every this many times after.