Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add reschedule #155

Merged
merged 2 commits into from
May 9, 2023
Merged

add reschedule #155

merged 2 commits into from
May 9, 2023

Conversation

querdenker2k
Copy link
Collaborator

@querdenker2k querdenker2k commented May 1, 2023

change timer runnable to consumer(JRuleTimer) to reschedule timers, like this

    createTimer(ZonedDateTime.now().plusSeconds(5), t -> {
            if (something) {
                t.reschedule(ZonedDateTime.now().plusSeconds(5));
            }
    }

@querdenker2k
Copy link
Collaborator Author

i am not really sure if this is the best approach, but i didn't see another one.

@querdenker2k querdenker2k marked this pull request as ready for review May 2, 2023 19:38
@seime seime merged commit 603eb1b into seaside1:main May 9, 2023
1 check passed
@querdenker2k querdenker2k deleted the timer_reschedule branch May 13, 2023 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants