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
  • Loading branch information
elguardian committed Nov 29, 2023
1 parent ee26177 commit 29a9f36
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 29a9f36

Please sign in to comment.