aws / aws-lambda-python-runtime-interface-client

Apache License 2.0
255 stars 72 forks source link

Fix runtime_client blocking main thread #115

Closed tgsong closed 8 months ago

tgsong commented 10 months ago

Fixes issue #105

runtime_client.next is calling into the C extension which blocks the main thread. Moving it to a separate thread enables the main thread to process signal, see this issue for more details

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.