fix
This commit is contained in:
parent
ee913b937a
commit
bbccd4623c
@ -30,7 +30,7 @@ actor SDLPuncherActor {
|
|||||||
|
|
||||||
self.cleanupTask = Task {
|
self.cleanupTask = Task {
|
||||||
while !Task.isCancelled {
|
while !Task.isCancelled {
|
||||||
try? await Task.sleep(for: .seconds(cooldownInterval))
|
try? await Task.sleep(for: .seconds(1))
|
||||||
self.cleanExpiredCoolingDown()
|
self.cleanExpiredCoolingDown()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user