Closed tbalthazar closed 4 years ago
That process should have 0 "normal" dynos running. It runs via one-off dynos initiated by the poolwatcher
process
this project uses one-off dynos and queues for elastic scale and efficiency
docs about heroku setup: https://github.com/mshanemc/deploy-to-sfdx#heroku-setup
Thanks for the clarification and quick answer @mshanemc!
Hi @mshanemc,
Looking at the Procfile, I noticed that the process that monitors the pool exits every time the pool is empty, causing the dyno to restart each time.
If the pool is empty most of the time, it means the dyno will be on an exit loop, constantly restarting. I don't know the specifics of this application and I'm not a Javascript expert, so please forgive me if I'm missing something, but I'm wondering if something like this would work better for this use case:
What do you think?