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

Improve probe callback handling #396

Merged
merged 4 commits into from
Jun 28, 2022
Merged

Conversation

otavio
Copy link
Member

@otavio otavio commented Jun 28, 2022

  • updatehub: states: probe: set last polling when state is cancelled
  • updatehub: states: machine: fix typo
  • updatehub: states: machine: use 0 seconds as delaying default time
  • updatehub: fix spelling of 'canceling' in error messages

We need to implement a custom transition handler as we need to set the
last polling time or we loop forever as polling interval will not be
respected.

Fixes: 56544d9 ("updatehub: Call state_change_callback for Probe state")
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
@otavio otavio merged commit 3bc6084 into master Jun 28, 2022
@otavio otavio deleted the topic/improve-probe-callback branch June 28, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant