Skip to content

Memory queues support for SQL Server job storage implementation for Hangfire

License

Notifications You must be signed in to change notification settings

minhhungit/Hv.Hangfire.SqlServer.Memory

Repository files navigation

Hv.Hangfire.SqlServer.Memory

Memory queues support for SQL Server job storage implementation for Hangfire

Installation

Install-Package Hv.Hangfire.SqlServer.Memory

Configuration

If you are using only default queue, call the UseMemoryQueues method just after UseSqlServerStorage method call and pass the path pattern as an argument.

GlobalConfiguration.Configuration
    .UseSqlServerStorage("<connection string or its name>")
    .UseMemoryQueues(@"hangfire-{0}");

To use multiple queues, you should pass them explicitly:

GlobalConfiguration.Configuration
    .UseSqlServerStorage("<connection string or its name>")
    .UseMemoryQueues(@"hangfire-{0}", "critical", "default");

About

Memory queues support for SQL Server job storage implementation for Hangfire

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published