Forums

Request to Limit Web App to a Single Worker

Hello everyone, I’m currently deploying a Flask-based web application on PythonAnywhere, and I would like to request that my app be limited to 1 worker as I am currently on a paid tier.

The reason for this is that my application relies on in-memory (local/session-based) storage during a user’s session. Since multiple workers can handle requests independently, this can lead to inconsistent behaviour or loss of session data when requests are routed to different workers.

I know this is bad practice but I have intentionally restricted the use of any shared/long-term storage for this project.

Ok. I have limited your web app to 1 worker. It will take effect the next time your web app is reloaded

Thank you very much for applying the change earlier, I really appreciate your help.

I no longer need the single worker restriction. Would it be possible to revert this and restore the app to its previous/default worker setup? I have deleted that web app and created a new one, but the restriction still seems to be in place.

Also, is there a way for me to check how many workers my app is currently running?

Thanks again for your support.

Edit: Seems like deleting the web app and making a new one removed the restriction. Would still appreciate any confirmation.

It's 3 workers again as you upgraded on 2026-04-13 -- the upgrade would rest what Glenn set manually.