Skip to content

Conversation

@mroderick
Copy link
Collaborator

@mroderick mroderick commented Dec 2, 2025

This hopefully fixes the timeouts that we're seeing in https://app.rollbar.com/a/codebar-production/fix/item/codebar-production/640/occurrence/449286860545#detail

The Heroku scheduler runs the job every 10 minutes, and thus gives us 10 minutes to complete the work. Hopefully we can complete it in 9 minutes.

image

Ping @mikej @olleolleolle: does it make sense to use 9 minutes timeout, or shall we just let the Heroku scheduler kill the job, hoping it will resume the work in the next iteration?

Also, would it make sense to switch to deliver_later in invite_coaches_to_virtual_workshop?

This replaces #2127

Copy link
Collaborator

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth a try!

Edit: to your question, I think that absolutely, async is easier.

@gnclmorais
Copy link
Contributor

If this works, it would be quite useful! Related, have we thought about using Sidekiq instead, like Heroku recommends in its documentation?

@olleolleolle
Copy link
Collaborator

If this works, it would be quite useful! Related, have we thought about using Sidekiq instead, like Heroku recommends in its documentation?

We do many things to be as cheap as possible, this being one of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants