imranmomin / Hangfire.AzureCosmosDb

Azure Cosmos DB storage provider for Hangfire
https://www.hangfire.io/
MIT License
17 stars 16 forks source link

feat: added CreateIfNotExists option #47

Open f1nzer opened 2 years ago

f1nzer commented 2 years ago

It's not always neccessary to perform db initialization on every run. Also, users might have issues with db/container/stored procedures creation when native RBAC is enabled due to management operation limitations: https://aka.ms/cosmos-native-rbac

New option CreateIfNotExists is enabled by default (to preserve the current behavior).

sergey-tihon commented 2 years ago

@imranmomin can you please review/merge this PR?