imranmomin / Hangfire.AzureCosmosDb

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

Add possibility to set Throughputs #58

Open Exd442scha opened 10 months ago

Exd442scha commented 10 months ago

In the current implementation there's no way to pass the Throughput Properties to set it.

example :

Also it would be better to have two parameters of ThroughputProperties , one for the database and one for the container, maybe a class which contains two properties, example :

public class CosmosThroughputProperties
    {
        public ThroughputProperties DatabaseThroughputProperties { get; set; }

        public ThroughputProperties ContainerThroughputProperties { get; set; }
    }

Thanks,