Browse Source
Merge pull request #552 from colinin/fix-missing-node
fix: add a node and tenant ID to a storage job
pull/580/head
yx lin
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
1 deletions
-
aspnet-core/modules/task-management/LINGYUN.Abp.TaskManagement.Domain/LINGYUN/Abp/TaskManagement/BackgroundJobStore.cs
-
aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Application/LINGYUN/Abp/WebhooksManagement/WebhookSendRecordAppService.cs
|
|
|
@ -85,7 +85,9 @@ public class BackgroundJobStore : IJobStore, ITransientDependency |
|
|
|
jobInfo.Priority, |
|
|
|
jobInfo.Source, |
|
|
|
jobInfo.MaxCount, |
|
|
|
jobInfo.MaxTryCount) |
|
|
|
jobInfo.MaxTryCount, |
|
|
|
jobInfo.NodeName, |
|
|
|
jobInfo.TenantId) |
|
|
|
{ |
|
|
|
IsEnabled = true, |
|
|
|
TriggerCount = jobInfo.TriggerCount, |
|
|
|
|
|
|
|
@ -78,6 +78,7 @@ public class WebhookSendRecordAppService : WebhooksManagementAppServiceBase, IWe |
|
|
|
Data = sendEvent.Data, |
|
|
|
Headers = subscription.GetWebhookHeaders(), |
|
|
|
Secret = subscription.Secret, |
|
|
|
TryOnce = true, |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|