Skip to content

Multi-thread GraphSession support #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2020
Merged

Conversation

peombwa
Copy link
Member

@peombwa peombwa commented Jul 15, 2020

As noted in #253, the current design of GraphSession only works for single-threaded scenarios, but throws an exception for multi-threaded scenarios. This PR updates authentication module by reusing the existing session object, if one is found, as opposed to throwing an exception. The session object will only be initialized once OnImport, and subsequent calls will reuse the previously instantiated session.

@peombwa peombwa requested review from darrelmiller and ddyett July 15, 2020 23:43
@peombwa peombwa merged commit 3509ad0 into master Jul 16, 2020
@peombwa peombwa deleted the po/multiThreadSessionSupport branch July 16, 2020 22:35
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