romainbutteaud / Kaffeine

Keeping free Heroku apps awake.
kaffeine.herokuapp.com
1.05k stars 112 forks source link

Just a question #46

Closed TheYoBots closed 3 years ago

TheYoBots commented 3 years ago

Does this restart all dynos every 30 minutes or does it deploy the bot every 30 minutes?

Also would be nice if users could increase/decrease the time from 30 minutes to a custom value.

Thanks!

gyz15 commented 3 years ago

Does this restart all dynos every 30 minutes or does it deploy the bot every 30 minutes?

Also would be nice if users could increase/decrease the time from 30 minutes to a custom value.

Thanks!

I think it doesn't restart your dynos every 30 minutes but prentending a request to your heroku app so it will always stays active and does not sleep every one hour due to no traffic.

I think you may consider using cronjob as another method to prevent your app goes sleep.

More information on this article.

TheYoBots commented 3 years ago

Thanks for your response. Things have been clarified now :)