Skip to content

Commit

Permalink
Minor changes after code review.
Browse files Browse the repository at this point in the history
Minor changes after code review.
  • Loading branch information
infstar committed Dec 24, 2024
1 parent 8cb53c0 commit db1630e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ public Step schoolReportsRegenJobStep(JobRepository jobRepository, PlatformTrans

@Bean
public Step masterStepSchoolReportsRegen(JobRepository jobRepository, PlatformTransactionManager transactionManager, EducGradBatchGraduationApiConstants constants, SkipSQLTransactionExceptionsListener skipListener) {
int partitionSize = (constants.getNumberOfPartitions() / 2) + 1;
int partitionSize = constants.getNumberOfPartitions() / 2;
return new StepBuilder("masterStepSchoolReportsRegen", jobRepository)
.partitioner(schoolReportsRegenJobStep(jobRepository, transactionManager, skipListener).getName(), partitionerSchoolReportsRegen())
.step(schoolReportsRegenJobStep(jobRepository, transactionManager, skipListener))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Map<String, ExecutionContext> partition(int gridSize) {
long startTime = System.currentTimeMillis();
logger.debug("Filter Schools for deleting student reports");
boolean processAllReports = "ALL".equalsIgnoreCase(searchRequest.getActivityCode());
Long batchId = jobExecution.getId();;
Long batchId = jobExecution.getId();
List<UUID> eligibleStudentSchoolDistricts = gradSchoolOfRecordFilter.filterSchoolsByStudentSearch(searchRequest);
List<UUID> finalSchoolDistricts = eligibleStudentSchoolDistricts.stream().sorted().toList();
if(logger.isDebugEnabled()) {
Expand Down

0 comments on commit db1630e

Please sign in to comment.