[英]How can I use my free allowance on Heroku?
I have been playing around creating 'Hubot' a bot for HipChat. 我一直在为HipChat创建“ Hubot”机器人。 I deployed it to Heroku, and have been using the free dyno.
我将其部署到Heroku,并一直在使用免费的dyno。
I don't have much experience with Heroku, but on the pricing page it says 'Must sleep 6 hours in a 24 hour period'. 我在Heroku方面经验不足,但是在定价页面上却说“必须在24小时内睡6个小时”。 Is that forced, or can I go over the limit?
这是强制性的,还是我可以超过限制? It also says 'Sleeps after 30 mins of inactivity'.
它还说“闲置30分钟后进入睡眠状态”。
Is that why Hubot comes with a 'keep alive url', to prevent inactivity, therefore causing me to be charged? 这就是为什么Hubot带有“保持活动的URL”,以防止不活动并因此导致我被收费的原因?
I am only experimenting, and don't want to accidentally start getting billed for using the service. 我只是在做实验,不想意外地因使用该服务而收费。
If you're using the free Heroku dynos, then yes -- the 6 hours of sleep will be 'forced' every day. 如果您使用的是免费的Heroku测功机,那么可以-每天“强迫”睡眠6小时。 You don't need to worry about getting charged for keeping your dyno awake, Heroku will just put it to sleep for you.
您无需担心因保持dyno清醒而收费,Heroku会为您睡觉。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.