AdaptiveQueryLimits
class AdaptiveQueryLimits(val limits: List<AdaptiveQueryLimit>, interval: Duration = AdaptiveLimitOptions.DEFAULT_INTERVAL, context: CoroutineContext = Dispatchers.Default) : AutoCloseable
Evaluates every one of limits each interval, from start to close. An evaluation that fails is logged; the next one runs all the same.
Constructors
Link copied to clipboard
constructor(limits: List<AdaptiveQueryLimit>, interval: Duration = AdaptiveLimitOptions.DEFAULT_INTERVAL, context: CoroutineContext = Dispatchers.Default)