Skip to content

Refactor SyncWrapper#57188

Merged
dwoz merged 2 commits intosaltstack:masterfrom
dwoz:sync_wrapper
May 21, 2020
Merged

Refactor SyncWrapper#57188
dwoz merged 2 commits intosaltstack:masterfrom
dwoz:sync_wrapper

Conversation

@dwoz
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

dwoz commented May 20, 2020

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

@dwoz
Copy link
Copy Markdown
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