adamsaghy commented on code in PR #2550:
URL: https://github.com/apache/fineract/pull/2550#discussion_r960972308
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/jobs/setloandelinquencytags/SetLoanDelinquencyTagsTasklet.java:
##########
@@ -36,16 +36,19 @@
@RequiredArgsConstructor
public class SetLoanDelinquencyTagsTasklet implements Tasklet {
- private final LoanProductRepository loanProductRepository;
private final DelinquencyWritePlatformService
delinquencyWritePlatformService;
private final LoanReadPlatformService loanReadPlatformService;
@Override
public RepeatStatus execute(StepContribution contribution, ChunkContext
chunkContext) throws Exception {
+ ThreadLocalContextUtil.setActionContext(ActionContext.COB);
Review Comment:
There is no need to set the COB context here if you are running this job
after midnight and either not using COB logic or you run this job after the
business date job which should be the usage in most of the cases.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]