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

refactor(traffic): statistics use the u64 type #678

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

cppcoffee
Copy link
Contributor

@cppcoffee cppcoffee commented Jan 26, 2025

🤔 This is a ...

  • Refactoring

💡 Background and solution

Complete the TODO:

https://github.com/Watfaq/clash-rs/blob/master/clash_lib/src/app/dispatcher/statistics_manager.rs#L143

Traffic statistics do not involve negative numbers. Modify the calculation to use the u64 type.

@cppcoffee cppcoffee changed the title traffic: statistics use the u64 type traffic: statistics use the u64 type Jan 26, 2025
@ibigbug ibigbug enabled auto-merge (squash) January 27, 2025 15:17
@ibigbug ibigbug changed the title traffic: statistics use the u64 type refactor(traffic): statistics use the u64 type Jan 27, 2025
@ibigbug ibigbug merged commit 4603769 into Watfaq:master Jan 27, 2025
27 checks passed
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.

4 participants