-
Notifications
You must be signed in to change notification settings - Fork 267
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
[IDEA] Poll at Will Feature #4810
Comments
OMG YES PLEASE! Relatedly, if I am using the workaround of poll-on-start, it would be great to set it with a cron of "never" rather than needing to schedule it for 2099 |
Also there was another user looking for this from the forum: https://forums.mirthproject.io/forum/mirth-connect/support/15097-how-to-manually-trigger-polling-of-source-database-reader
|
@mkopinsky that is exactly #3020 |
Could you set a schedule of "every minute" and then modify a flag in the global map to say "actually do it or not", then just toggle the global map value? Is that too hacky? |
@ChristopherSchultz I think a javascript reader would be the only polling connector where you would have the opportunity to check that value and skip "doing it." |
Yes that was me, re: Also there was another user looking for this from the forum: https://forums.mirthproject.io/forum/mirth-connect/support/15097-how-to-manually-trigger-polling-of-source-database-reader I think your "Poll Now" feature idea is what we were looking for back then. Since then we've done things like, set to "Poll on Start", deploy, and set it back. We're also using cron to fire every minute but check a flag to see if you really should do it. |
I don't like the idea of the cron job and flag. I would rather just deploy with some interval, poll on start, and then undeploy. I don't want most channels to poll on deploy because whenever we do maintenance and have to reboot, I don't want ALL of my channels to run and bring down the startup. This should actually be a really easy feat to run a script at will. |
Is your feature request related to a problem? Please describe.
When I need to poll a channel at will, I have to edit the channel to modify the poll on deploy to yes, then deploy the channel, then wait for the poll to finish, then modify the channel again not to poll on deploy, and then deploy again.
Describe your use case
I need this feature so I can accomplish Polling channels at will on command without needing to modify and deploy channels.
This effects channels with these source connector types:
Describe the solution you'd like
On the Channels list and/or at least on the Dashboard add a Dashboard Task to "Poll Channel Now"
Describe alternatives you've considered
I have to edit the channel to modify the poll on deploy to yes, then deploy the channel, then wait for the poll to finish, then modify the channel again not to poll on deploy, and then deploy again.
Additional context
This would also be useful in conjunction with #3020.
The text was updated successfully, but these errors were encountered: