Help Shape the Future of Dataiku Join our User Research Program

Flask Multi-thread (app threaded)

Solved!
saulleon
Level 2
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?

1 Solution
Clément_Stenac
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.

View solution in original post

2 Replies
Clément_Stenac
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.

View solution in original post

saulleon
Level 2
Author

Awesome! Thank you Clement!

0 Kudos
A banner prompting to get Dataiku DSS