Closed jjb closed 2 years ago
Then again...
Rails automatically wraps web requests and Active Job workers
So maybe executor and with_connection are irrelevant if used with ActiveJob?
I'm honestly not sure. I don't use ActiveJob so not sure what it does on its own.
gotcha - I had some discussion about something similar here:
https://github.com/bensheldon/good_job/pull/389#issuecomment-1015990096
i'll close this out for now, may be helpful for people searching in future, or maybe someone more opinionated/knowledgable in future will suggest a change
The readme shows how to manually achieve the most important parts of that. Maybe it should be updated to use the rails executor or reloader instead?