Skip to content

Conversation

ivanfioravanti
Copy link

Describe the change
Split the class RunnablePoller into 3 classes:
WorkflowRunnablePoller, EventRunnablePoller, CommandRunnablePoller

Why this change ?
In order to optimize the system, we need to poll only the commands every 10 seconds.
The workflow and the events are polled only once at the service startup.

Describe your implementation or design

The class RunnablePoller is split into 3 classes : WorkflowRunnablePoller, EventRunnablePoller, CommandRunnablePoller
The interval for each of those pollers can now be configured independently via 3 options: PollWorkflowsInterval, PollEventsInterval, PollCommandsInterval. The option PollInterval does not exist anymore.
Tests
No

Breaking change
Yes

the option PollInterval has been replaced by PollWorkflowsInterval, PollEventsInterval and PollCommandsInterval
the extension method UsePollInterval has been replaced by UsePollWorkflowsInterval, UsePollEventsInterval, and UsePollCommandsInterval

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.

1 participant