We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c43855 commit f0f432bCopy full SHA for f0f432b
src/commonMain/kotlin/spp.protocol/instrument/HitThrottle.kt
@@ -3,9 +3,9 @@ package spp.protocol.instrument
3
import kotlinx.datetime.Clock
4
import kotlin.jvm.Transient
5
6
-class HitThrottle(private val limit: Int, step: HitThrottleStep) {
+class HitThrottle(private val limit: Int, step: ThrottleStep) {
7
8
- private val step: HitThrottleStep
+ private val step: ThrottleStep
9
10
@Transient
11
private var lastReset: Long = -1
src/commonMain/kotlin/spp.protocol/instrument/HitThrottleStep.kt
0 commit comments