saurabhnanda / odd-jobs

Haskell job queue with admin UI and loads of other features.
https://www.haskelltutorials.com/odd-jobs/
BSD 3-Clause "New" or "Revised" License
75 stars 29 forks source link

"ensureResource' causes an extra INSERT statement to be fired for every call to scheduleJobWithResources #111

Open saurabhnanda opened 4 hours ago

saurabhnanda commented 4 hours ago

What's the use-case for automatically creating resources with resCfgDefaultLimit if they are missing? Wouldn't one have some fixed set of resources whose max-limits are setup during a one-off deployment?

cc: @ivb-supercede