https://kotlinlang.org logo
#ktor
Title
# ktor
k

Kedar

02/15/2022, 1:59 PM
I've created an application that connects to MongoDb atlas cluster and is hosted on heroku. My question is, when the api server application is idle for long time, and the next client request comes in, does the server application start from its defined main entry point (in my case it's `Application.module`())?
a

Aleksei Tirman [JB]

02/15/2022, 5:38 PM
If a server is still running then yes.
👍 1
a

andylamax

02/16/2022, 2:09 AM
Know that Heroku is know to shutdown idle inatances and reboot them when there is incoming request
29 Views