Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: prevent infra from stopping if multiserver is used #1481

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 1 commit into from
Aug 13, 2019

Conversation

littldr
Copy link
Contributor

@littldr littldr commented Aug 13, 2019

If you start localstack with only one (moto)service (e.g. `events) it will start it and stop it immediately.
I've found that the newly introduced multiserver causes this issue, cause it's thread is not returned here in the main thread (and therefore the main thread is stopped here, as expected).

@whummer
Copy link
Member

whummer commented Aug 13, 2019

Great catch, thanks @littldr ! 👍

@whummer whummer merged commit 05f4b58 into localstack:master Aug 13, 2019
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