Disable Oban in umbrella setup

I recently transformed my app into an umbrella app. Previously, I had three separate apps built from the same source code, but only one of them had Oban configured. Now, since I’m sharing some of the code, the Oban dependency is shared across all three apps within my umbrella app. Oban is working, however since the deploy of the umbrella app, Supabase is complaining about a spike in CPU usage. Is there a way to disable Oban within all but one of my apps?

EDIT: Even blogged about it, in case anyone is curios: How I Stopped Worrying and Started Loving the Umbrella – TAGBASE

Great to see more positive vibes around umbrella apps!

What do you know specifically what Oban does that is causing these spikes?

Are you starting Oban in each application’s start?

We are using an Umbrella app, we have an app called Shared which is a dependency of all other apps. It has Oban and Ecto Repo etc, mostly infrastructure stuff.

Ok, so if you only want Oban in one app, why is it in the shared one and not the one app that needs it?

1 Like

I’n not the OP. I was just saying what we do in a similar circumstance, sorry for the confusion.