refactor(wake): убрать неиспользуемый Notifier

This commit is contained in:
samosvalishe committed 2026-09-21 13:43:20 +03:00
1 parent 273a5fa977
commit 7e5b2d4cde
3 files changed
+23 -78

No files matched your search

+1 -1
View File
@@ -225,7 +225,7 @@ func (s *Session) Run(ctx context.Context) (err error) {
}
}
bg.Go(guard(func() {
wake.New().Watch(runCtx, wakeTick, wakeThreshold, func(gap time.Duration) {
wake.Watch(runCtx, wakeTick, wakeThreshold, func(gap time.Duration) {
log.Warnf("device slept for %s - checking TURN allocations", gap.Truncate(time.Second))
s.Wake()
})