这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
feijie 66d5be130d feat(docs): 添加任务管理模块文档 1 year ago
..
LINGYUN/Abp/BackgroundTasks/Hangfire feat(tasks): 增加多租户支持 4 years ago
LINGYUN.Abp.BackgroundTasks.Hangfire.csproj 🔧 chore: use Directory.Packages.props 2 years ago
README.EN.md feat(docs): 添加任务管理模块文档 1 year ago

README.EN.md

LINGYUN.Abp.BackgroundTasks.Hangfire

Background task module implementation based on Hangfire.

Configuration and Usage

Module reference:

[DependsOn(typeof(AbpBackgroundTasksHangfireModule))]
public class YouProjectModule : AbpModule
{
  // other
}

Features

  • Integrates with Hangfire for background job processing
  • Supports job execution events and monitoring
  • Implements distributed locking for job execution
  • Provides job execution context and result handling
  • Includes job parameter management
  • Supports job cancellation and timeout handling

Components

  • HangfireJobExecutedAttribute: Handles job execution events and locking
  • HangfireJobSimpleAdapter: Adapts job execution to the Hangfire infrastructure
  • Job event handling with support for:
    • Before execution events
    • After execution events
    • Execution result handling
    • Error handling and logging

Job Execution Flow

  1. Job scheduling through Hangfire
  2. Pre-execution locking (if configured)
  3. Job execution with context
  4. Event handling and result processing
  5. Lock release and cleanup