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
parent
commit
d561fd4ae5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      aspnet-core/modules/task-management/LINGYUN.Abp.TaskManagement.Domain/LINGYUN/Abp/TaskManagement/BackgroundJobStore.cs
  2. 1
      aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Application/LINGYUN/Abp/WebhooksManagement/WebhookSendRecordAppService.cs

4
aspnet-core/modules/task-management/LINGYUN.Abp.TaskManagement.Domain/LINGYUN/Abp/TaskManagement/BackgroundJobStore.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,

1
aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Application/LINGYUN/Abp/WebhooksManagement/WebhookSendRecordAppService.cs

@ -78,6 +78,7 @@ public class WebhookSendRecordAppService : WebhooksManagementAppServiceBase, IWe
Data = sendEvent.Data,
Headers = subscription.GetWebhookHeaders(),
Secret = subscription.Secret,
TryOnce = true,
});
}
}

Loading…
Cancel
Save