Skip to content

Commit

Permalink
[incubator-kie-issues-711] Refactroing job service to allow collocate…
Browse files Browse the repository at this point in the history
…d service for Quarkus (apache#3295)
  • Loading branch information
elguardian authored and rgdoliveira committed Jan 17, 2024
1 parent 818a4a2 commit 6f538f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private static JsonNode buildPayload(ProcessInstanceJobDescription description,
return objectMapper.valueToTree(new JobCallbackPayload(description.id()));
}

private static TimerSchedule buildSchedule(ProcessInstanceJobDescription description) {
public static TimerSchedule buildSchedule(ProcessInstanceJobDescription description) {
return TimerSchedule.builder()
.startTime(description.expirationTime().get().toOffsetDateTime().truncatedTo(ChronoUnit.MILLIS))
.repeatCount(translateLimit(description.expirationTime().repeatLimit()))
Expand Down

0 comments on commit 6f538f7

Please sign in to comment.