Skip to content
Memory queues support for SQL Server job storage implementation for Hangfire
C# HTML CSS JavaScript
Branch: master
Clone or download
Latest commit efb5900 Jul 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Hv.Hangfire.SqlServer.Memory up version Jul 5, 2019
MySample demo RecurringJob Jul 5, 2019
.gitattributes initial project Jul 5, 2019
.gitignore initial project Jul 5, 2019
Hv.Hangfire.SqlServer.Memory.sln add demo page Jul 5, 2019
LICENSE Create LICENSE Jul 4, 2019
README.md Update README.md Jul 5, 2019

README.md

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");
You can’t perform that action at this time.