-
Notifications
You must be signed in to change notification settings - Fork 37
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
Allow overriding polling time from config #147
Comments
Since the config value provided by the DDI is only refered to as the 'suggested sleep time between polls' it also sounds reasonable to me to override this wish if we know better. |
If this is testing-specific, maybe this should be a command line option rather than a config option? |
That wouldn't work that well for us as the config file is device-specific (so can be different on test-devices) but the service invocation is defined in the firmware and identical on all our devices. |
Hm, okay, I think we could also add that to the config. I am not sure whether this should override the poll time announced by hawkBit or if we should use the lowest value? |
Mh, good question. I think using the lowest value probably makes sense. (otherwise devices will be reported as "late" in hawkbit) |
Makes sense. PR welcome :) |
It would be helpful to have development/staging targets poll hawkbit more often than the server-side defined polling interval (which is set to multiple hours so we save mobile bandwidth).
Our development targets are connected via an ethernet connection though and it would ease the testing workflow if we could tell those to just poll hawkbit every minute instead.
The text was updated successfully, but these errors were encountered: