diff --git a/src/SFA.DAS.EmployerFinance.Jobs/App.config b/src/SFA.DAS.EmployerFinance.Jobs/App.config index b1d5a98056..43f311e1c8 100644 --- a/src/SFA.DAS.EmployerFinance.Jobs/App.config +++ b/src/SFA.DAS.EmployerFinance.Jobs/App.config @@ -7,7 +7,7 @@ - + diff --git a/src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs b/src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs index 0c40e2b43f..91fde61244 100644 --- a/src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs +++ b/src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs @@ -26,7 +26,7 @@ public ExpireFundsJob( } public async Task Run( - [TimerTrigger("0 0 0 28 * *")] TimerInfo timer, + [TimerTrigger("0 0 0 30 * *")] TimerInfo timer, ILogger logger) { logger.LogInformation($"Starting {nameof(ExpireFundsJob)}"); diff --git a/src/SFA.DAS.EmployerFinance.MessageHandlers/App.config b/src/SFA.DAS.EmployerFinance.MessageHandlers/App.config index 13d9be65bb..96be10c442 100644 --- a/src/SFA.DAS.EmployerFinance.MessageHandlers/App.config +++ b/src/SFA.DAS.EmployerFinance.MessageHandlers/App.config @@ -8,7 +8,7 @@ - + diff --git a/src/SFA.DAS.EmployerFinance/Data/EmployerAccountRepository.cs b/src/SFA.DAS.EmployerFinance/Data/EmployerAccountRepository.cs index 9a27926869..05f94831b1 100644 --- a/src/SFA.DAS.EmployerFinance/Data/EmployerAccountRepository.cs +++ b/src/SFA.DAS.EmployerFinance/Data/EmployerAccountRepository.cs @@ -31,6 +31,7 @@ public async Task> GetAllAccounts() { var result = await _db.Value.Database.Connection.QueryAsync( sql: "select * from [employer_financial].[Account]", + transaction: _db.Value.Database.CurrentTransaction?.UnderlyingTransaction, commandType: CommandType.Text); return result.AsList();