Skip to content
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

Refactor SyncWrapper #57188

Merged
merged 2 commits into from
May 21, 2020
Merged

Refactor SyncWrapper #57188

merged 2 commits into from
May 21, 2020

Conversation

dwoz
Copy link
Contributor

@dwoz dwoz commented May 10, 2020

Refactor SyncWrapper so that it uses an alternate ioloop and runs it in
a thread. This is needed for torando 5.0 and greater on python 3 where
asyncio's event loop is the default. The asyncio default loop can only
have on loop running at a time in any given thread. So, the old
SyncWrapper doesn't work because it tires to run multiple ioloops in the
main execution thread.

Merge requirements satisfied?

Commits signed with GPG?

Yes

@dwoz dwoz requested a review from a team as a code owner May 10, 2020 16:31
@ghost ghost requested review from garethgreenaway and removed request for a team May 10, 2020 16:31
s0undt3ch
s0undt3ch previously approved these changes May 11, 2020
@dwoz
Copy link
Contributor Author

dwoz commented May 18, 2020

re-run full all

dwoz added 2 commits May 19, 2020 14:54
Refactor SyncWrapper so that it uses an alternate ioloop and runs it in
a thread. This is needed for torando 5.0 and greater on python 3 where
asyncio's event loop is the default. The asyncio default loop can only
have on loop running at a time in any given thread. So, the old
SyncWrapper doesn't work because it tires to run multiple ioloops in the
main execution thread.
@dwoz
Copy link
Contributor Author

dwoz commented May 20, 2020

re-run full ubuntu2004
re-run full macosmojave
re-run full fedora32

@dwoz
Copy link
Contributor Author

dwoz commented May 20, 2020

re-run full macosxmojave

@dwoz dwoz merged commit a9bb51f into saltstack:master May 21, 2020
@sagetherage sagetherage added the ZRelease-Sodium retired label label May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZRelease-Sodium retired label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants