Option to have `perform_later` `perform_now` when doing local development?


#1

Hi!

What I am trying to do is have jobs that are being executed from a controller with perform_later execute immediately on the localhost when I am doing local development.

I thought I noticed in jets jobs that perform_later would actually perform_now under some conditions but I can’t seem to find that now.

Is this possible?


#2

Locally, perform_later should execute immediately. Here’s the commit that added this behavior:

Wondering what version you’re running. This behavior was introduced in v2.1.5


#3

That was it! I was on 2.0.6 because of a gem I recently depended on excluded activesupport 6. Thanks so much! Working great!