Running delayed jobs on Heroku for free

后端 未结 5 534
执念已碎
执念已碎 2021-02-02 13:02

Is it possible to run delayed jobs on Heroku for free?

I\'m trying to use delayed_job_active_record on Heroku. However, it requires a

5条回答
  •  感情败类
    2021-02-02 13:42

    If you only have one web worker, Heroku will sleep it if it's inactive for an hour.

    Also, Heroku will reboot all dynos at least once a day.

    This makes it hard to do a within-ruby scheduler. It has to at least use persistent storage (e.g. database).

提交回复
热议问题