Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

[autosolved] Is it possible to run a dash app with several gunicorn worker processes?

$
0
0

If I try to launch my dash application with gunicorn --workers=5 my_module.app:server, it does not got past the “loading…” stage. It seems to work fine with several --threads. Is this expected or did I do something too dirty in my app?

EDIT: nevermind, sorry for the spam, found the problem. I was using flask_login and defining the secret in each worker process instead of globally. It works now.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images