Open nelsonic opened 4 years ago
A potential (short-term) solution could be to scale up the dyno before test and scale it back down once tests pass.
Run the command:
heroku ps:type hobby
Output:
Scaling dynos on ⬢ dwylmail... done
type size qty cost/mo
──── ───── ─── ───────
web Hobby 1 7
Confirmed via Web UI:
To scale back down:
heroku ps:type free
Output:
Scaling dynos on ⬢ dwylmail... done
type size qty cost/mo
──── ──── ─── ───────
web Free 1
Obviously it's lame to do this manually each time we run a script. 💭
Given that Email is core to our infrastructure, it might be time to just migrate it to AWS EC2: https://github.com/dwyl/aws-ses-lambda/issues/21
Had the same issue and migrated all my sites to Vercel. Hopefully, there is no such cap there.
Yeah, Vercel is a good option for JS apps and they have a more liberal fair-use policy. 👍 This App is built with Elixir so I don't think Vercel is an option for now. 😞
fly.io could also be a good option and have a generous free tier. They have an option to import apps from Heroku as well: https://fly.io/heroku
https://dwylmail.herokuapp.com
$7/month ... 💭