ratelimit for pooler set at 33ms

This commit is contained in:
onyx-and-iris 2022-06-30 23:20:15 +01:00
parent dcc3994536
commit 18ece8a6b8

View File

@ -1,5 +1,9 @@
package voicemeeter
import (
"time"
)
// observer defines the interface any registered observers must satisfy
type observer interface {
OnUpdate(subject string)
@ -59,5 +63,6 @@ func (p *pooler) runner() {
if mdirty() {
p.notify("mdirty")
}
time.Sleep(33 * time.Millisecond)
}
}