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 (#3295)
  • Loading branch information
elguardian authored Jan 8, 2024
1 parent 88cf55f commit 3aa2611
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 3aa2611

Please sign in to comment.