We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3703135 commit ce37c28Copy full SHA for ce37c28
app/__init__.py
@@ -21,6 +21,11 @@ def create_app(flask_config_name=None, **kwargs):
21
"""
22
Entry point to the Flask RESTful Server application.
23
24
+ # This is a workaround for Alpine Linux (musl libc) quirk:
25
+ # https://github.com/docker-library/python/issues/211
26
+ import threading
27
+ threading.stack_size(2*1024*1024)
28
+
29
app = Flask(__name__, **kwargs)
30
31
env_flask_config_name = os.getenv('FLASK_CONFIG')
0 commit comments