Skip to content

For pushTokensWorker, use errgroup with context #121

@shreyb

Description

@shreyb

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions