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

feat: reload config #55

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Conversation

vohoanglong0107
Copy link
Contributor

What

Fix #49

Copy link
Contributor

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Nice and clean 👍 Thank you!

Once the refreshing logic is separated from the main event/command handling loop, we will probably want to assign different refresh periods for the various things that are being refreshed (time will tell).

Also, we should probably explicitly set some reasonable timeouts for all the network communications happening here, but that's for another PR.

@Kobzol Kobzol merged commit debf50e into rust-lang:main Mar 28, 2024
2 checks passed
@vohoanglong0107 vohoanglong0107 deleted the feat-reload-config branch March 29, 2024 00:11
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.

Reload repository config while the bot is running
2 participants