On this line:
We get an errgroup to synchronize the token pushes. Rather than getting a plain errgroup, we should actually use the function errgroup.WithContext to get a common context to pass to all pushes so we can cancel them all if there's an issue (like a timeout).
On this line:
managed-tokens/internal/worker/pushTokensWorker.go
Line 190 in 01ef848
We get an errgroup to synchronize the token pushes. Rather than getting a plain errgroup, we should actually use the function
errgroup.WithContextto get a common context to pass to all pushes so we can cancel them all if there's an issue (like a timeout).