Skip to content

Make dep client thread safe#850

Merged
korylprince merged 2 commits intomicromdm:mainfrom
petitout:main
Dec 19, 2022
Merged

Make dep client thread safe#850
korylprince merged 2 commits intomicromdm:mainfrom
petitout:main

Conversation

@petitout
Copy link
Contributor

When the client instance is shared between. multiple go routines, creating a session can result in 429 from Apple

When the client instance is shared between. multiple go routines, creating a session can result in 429 from Apple
Copy link
Contributor

@korylprince korylprince left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. Can you run gofmt (gofmt -w . in the root of the project) to appease the CI testers? Pushing a new commit or rebasing the change and force-pushing it will update this PR.

When the client instance is shared between. multiple go routines, creating a session can result in 429 from Apple
@korylprince korylprince merged commit 44a19bc into micromdm:main Dec 19, 2022
@korylprince
Copy link
Contributor

Merged after discussion with @jessepeterson.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants