Decrementable Option
Heroku’s SIGTERM signals. It is recommended to always do this, regardless of whether you have decrementable enabled or not, because Heroku restarts your dynos at least once per day.
Some worker libraries probably already handle this for you. Others might not. Consult your worker library's documentation.