Browse Source

fix(tasks): the execution type is job configuration

pull/457/head
cKey 4 years ago
parent
commit
869abc14fd
  1. 2
      aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks/LINGYUN/Abp/BackgroundTasks/BackgroundJobManager.cs

2
aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks/LINGYUN/Abp/BackgroundTasks/BackgroundJobManager.cs

@ -44,7 +44,7 @@ public class BackgroundJobManager : IBackgroundJobManager, ITransientDependency
{
{ nameof(TArgs), args },
{ "ArgsType", jobConfiguration.ArgsType.AssemblyQualifiedName },
{ "JobType", typeof(BackgroundJobAdapter<TArgs>).AssemblyQualifiedName },
{ "JobType", jobConfiguration.JobType.AssemblyQualifiedName },
};
var jobInfo = new JobInfo
{

Loading…
Cancel
Save