Skip to content

Commit

Permalink
no longer check parent context in ticker
Browse files Browse the repository at this point in the history
  • Loading branch information
bashar-515 committed Jan 28, 2025
1 parent 8241b32 commit 16e2f4b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rpc/wrtc_call_queue_memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ func newMemoryWebRTCCallQueue(uuidDeterministic bool, logger utils.ZapCompatible
logger: logger,
}
queue.activeBackgroundWorkers = utils.NewStoppableWorkerWithTicker(5*time.Second, func(ctx context.Context) {
if ctx.Err() != nil {
return
}
now := time.Now()
queue.mu.Lock()
for _, hostQueue := range queue.hostQueues {
Expand Down

0 comments on commit 16e2f4b

Please sign in to comment.