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

fix: use a ticker in the monitor loop #862

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Conversation

fmartingr
Copy link
Contributor

Summary

Replaces the datetime calculation with a Ticker in the monitor's main loop

Ticket Link

Applies to https://mattermost.atlassian.net/browse/MM-61922

Replaces usage of datetime calculations for a time.Ticker
@fmartingr fmartingr added the 2: Dev Review Requires review by a core committer label Nov 29, 2024
@fmartingr fmartingr self-assigned this Nov 29, 2024
Copy link
Contributor

@streamer45 streamer45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@agnivade
Copy link
Member

agnivade commented Dec 2, 2024

To clarify: this doesn't really fix the JIRA ticket right? Just improves the code slightly.

@fmartingr
Copy link
Contributor Author

To clarify: this doesn't really fix the JIRA ticket right? Just improves the code slightly.

That's right.

Copy link
Member

@agarciamontoro agarciamontoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good, but I think we're missing the constant, right?

Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
@fmartingr fmartingr merged commit 5924046 into master Dec 5, 2024
1 check passed
@fmartingr fmartingr deleted the fix/monitor-run-ticker branch December 5, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants