node.js - Herkoku "must sleep 6 hours in a 24 hour period", showing custom text? -


heroku says (free)

must sleep 6 hours in 24 hour period

ok, that´s fine.

but can influence message or text shown user like: "hello user, unfurtunately the website needs rest, please try again 6 a.m 2 a.m ".

i can influence uptime, because of sending ping every 20 min.

i found this:

... free dynos allowed 18 hours awake per 24 hour period, , on next few weeks begin notify users of apps exceed limit ...

if you're using cdn create scheduled task replaces root page static page @ time of day, make sure cdn updates page, , spin down app 6 hours.

the docs cloudflare might place start learning how cdn works , how set (see: cloudflare support > getting started). of course use different content delivery network (cdn) service.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -