How are free dyno hours consumed? I have only one script hosted on Heroku, a discord bot, but it has 2 workers running on it. It used up all of my free hours well before I expected it to. When a script has 2 workers running on it, does it consume more hours than if it only had 1?
1
There are 1 best solutions below
Related Questions in HEROKU
- NoMethodError: undefined method `update_average_rating' for nil:NilClass
- Using Amazon KMS service on Heroku
- How to have Heroku build my development branch on a staging server?
- Heroku not fetching from DB when scheduler running
- Search for a key in django.core.cache
- Ruby app fails in https request on heroku.com
- Rails: NameError: uninitialized constant Rails::Application::YAML
- clojure worker-only app on heroku fails with Error R10
- Clockwork not logging to Heroku console
- Javascript working in development locally but not production on Heroku
- Heroku PostgreSQL Studio not finding databases
- Heroku : Username for 'https://git.heroku.com': git
- Pg backups curl latest dump from Heroku
- How do you deploy build artifacts to Heroku from Codeship?
- Custom validation message (in model file) that includes a path not working
Related Questions in DYNO
- Heroku Procfile not seeing my web: definition
- "App crashed" Django and Node together on Heroku
- Setting custom process as Heroku web process type
- Can you have Hobby and Standard Dynos at the same time in Heroku?
- Trouble deploying Nodejs App + Python on Heroku
- How to create permanent files on Heroku?
- Heroku Dyno inexplicably down?
- Scheduling tasks to run on heroku - How does it work in detail?
- how do i keep myself logged in heroku (chromedriver) even after dyno restarts everyday?
- Dyno Hours for paid account and Frequency to call app endpoint
- What does Herokus metric graph display?
- Can I set Heroku to not retry requests on timeout by default?
- Can I have one heroku application with multiple web dynos?
- Heroku: stop all one-off dynos without dyno name
- Why do I lose contents of my database after a heroku dyno restart?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to Heroku As of writing this you personal accounts are given a base of 550 free dyno hours each month. In addition to these base hours, accounts which verify with a credit card will receive an additional 450 hours added to the monthly free dyno quota. This means you can receive a total of 1000 free dyno hours per month, if you verify your account with a credit card.
You can view how many free hours you have remaining with the heroku cli:
heroku ps -a <app name>An app actively consumes free dyno hours if the app is set to use free dynos and any of the following are true:
If an app has a free web dyno, and that dyno receives no web traffic in a 30-minute period, it will sleep. In addition to the web dyno sleeping, the worker dyno (if present) will also sleep.
Free web dynos do not consume free dyno hours while sleeping.
This means if you have two worker dynos running 24/7 they will consume 48 hours every day. In a 31 day month there are 744 hours meaning with a single worker dyno you will be fine to run it 24/7 if you have a registered credit card but if you have two worker dynos this will not work as you will need 1488 free hours.