-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Con 3755 import payments pefrormance #2213
Conversation
…es when message lock lost
…lsFundingAgency/das-employerapprenticeshipsservice into CON-3020_Extra-logging-info
# Conflicts: # src/SFA.DAS.EmployerFinance/Commands/RefreshAccountTransfers/RefreshAccountTransfersCommandHandler.cs
|
||
var newNonFullyFundedPayments = newPayments.Where(p => p.FundingSource != FundingSource.FullyFundedSfa); | ||
|
||
_logger.Info($"CreatePayments for appIds: [{string.Join("'", newNonFullyFundedPayments.Select(x => x.ApprenticeshipId))}] AccountId = '{message.AccountId}' and PeriodEnd = '{message.PeriodEnd}' CorrelationId: {message.CorrelationId}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs removing
var failingPayment = payments.Where(p => p.ApprenticeshipId == 743445).ToList(); | ||
|
||
_logger.Info($"Got payment for appId: {failingPayment.FirstOrDefault()?.ApprenticeshipId}, paymentIds: [{string.Join("'", failingPayment.Select(x => x.Id))}] and PeriodEnd = '{message.PeriodEnd}' CorrelationId: {message.CorrelationId}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs removing
{ | ||
var resultProviders = new Dictionary<long, Models.ApprenticeshipProvider.Provider>(); | ||
|
||
foreach (var ukprn in ukprnList) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it worth using the ParallelForEachAsync here too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few comments
…mployerapprenticeshipsservice into CON-3755-ImportPaymentsPefrormance
No description provided.