Black Lives Matter. Please consider donating to Black Girls Code today.

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

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.