简体   繁体   English

如何在Heroku上使用我的免费津贴?

[英]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.

相关问题 如果我超过Heroku上的数据库大小限额会怎样? - What happens if I exceed my database size allowance on Heroku? 我可以在没有信用卡的情况下使用 Heroku 免费插件吗? 如果我那又如何? - can I use Heroku free addons without credit card? If I then how? 我可以将Free Heroku计划用作电报机器人吗? - Can i use Free Heroku plan as a Telegram Bot? 如何将 Haskell 上的电报机器人上传到 Heroku(或其他免费服务器)? - How can I upload my telegram-bot on Haskell to Heroku(or another free servers)? 如何在 heroku 平台上将 Procfile 用于我的 React 应用程序 - How can I use Procfile for my react app on heroku plateform 我可以在Heroku子域中使用子域吗? - Can I use subdomains with my Heroku subdomain? 我可以通过浏览器访问我的 heroku 免费子域站点,但我无法在终端中 ping 到它 - I can access my heroku free subdomain site via a browser, but I can't ping to it in the terminal 我如何免费托管我的后端,以便我可以设置 cookie,因为 heroku 不能在 *heroku.com 域上? - How else do I host my backend free so i could set cookies since heroku can't on *heroku.com domains? Heroku的免费版能处理多少? - How much can the free version of Heroku handle? 如何浏览我的 Heroku 数据库? - How can I browse my Heroku database?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM