Community Conundrum 25: Feature Visualization is now live! Read More

Flask Multi-thread (app threaded)

Level 1
Flask Multi-thread (app threaded)

Hi!

Is there any way to enable multi-thread in a python flask app?

  app.run(host=HOST, port=PORT, threaded=True)

This code is controlled by Dataiku, and it is injected to webapp editor.

How can I change it?

2 Replies
Dataiker
Dataiker

Hi,

Please go to the "Settings" tab of the webapp, and set the "number of processes" to 0 to enable threading.

This feature was added in DSS 7, so you will need at least this version.

Level 1
Author

Awesome! Thank you Clement!

0 Kudos