GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - raisedapp/Hangfire.Storage.SQLite: An Alternative SQLite Storage for Hangfire

BranchesTags
Open more actions menu

Latest commit

 

History

185 Commits
185 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
content
content
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Hangfire.Storage.SQLite.sln
Hangfire.Storage.SQLite.sln
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Hangfire.Storage.SQLite

NuGet Actions Status Master Actions Status Develop Official Site License MIT

Overview

An Alternative SQLite Storage for Hangfire.

This project was created by abandonment Hangfire.SQLite storage (https://github.com/wanlitao/HangfireExtension), as an alternative to use SQLite with Hangfire.

Is production ready? Yes

dashboard_servers

dashboard_recurring_jobs

dashboard_heartbeat

Installation

Install a package from Nuget.

Install-Package Hangfire.Storage.SQLite

Usage

This is how you connect to an SQLite instance

GlobalConfiguration.Configuration.UseSQLiteStorage();

Example

services.AddHangfire(configuration => configuration
            .UseSimpleAssemblyNameTypeSerializer()
            .UseRecommendedSerializerSettings()
            .UseSQLiteStorage());

Options

In the UseSQLiteStorage method you can use an instance of the Hangfire.Storage.SQLite.SQLiteStorageOptions class to specify some options of this plugin.

Below is a description of them:

Option Default Value
QueuePollInterval TimeSpan.FromSeconds(15)
InvisibilityTimeout TimeSpan.FromMinutes(30)
DistributedLockLifetime TimeSpan.FromSeconds(30)
JobExpirationCheckInterval TimeSpan.FromHours(1)
CountersAggregateInterval TimeSpan.FromMinutes(5)
AutoVacuumSelected AutoVacuum.NONE, other options: AutoVacuum.Full or AutoVacuum.Incremental AutoVacumm Explained

Thanks

This project is mainly based on Hangfire.LiteDB storage by @codeyu (https://github.com/codeyu/Hangfire.LiteDB)

License

This project is under MIT license. You can obtain the license copy here.

About

An Alternative SQLite Storage for Hangfire

www.nuget.org/packages/Hangfire.Storage.SQLite

Topics

hangfirehangfire-extensionhangfire-storagenugetsqlitestorage

Resources

Readme
MIT license
Activity
Custom properties

Stars

178 stars

Watchers

5 watching

Forks

35 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.