Flask app stops after some time

I deployed my very small and minimal flask app on render. It works ok and everything is nice, after some time, a refresh of the page takes very long time, when i check the logs i can see that the service is starting " ==> Starting service with ‘gunicorn app:app’". It seems like render.com stops the service when its idle for X minutes and a refresh of the page triggers it to start the service again. Is this correct? Is there anything i can do to have the service running all the time, as waiting for the service to start makes the application unusable.

aha yeah im on the free plan. Guess ill need to host it on my own pc. Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.