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

Aggregate follow changes #12

Merged
merged 3 commits into from
Sep 2, 2024
Merged

Aggregate follow changes #12

merged 3 commits into from
Sep 2, 2024

Conversation

dcadenas
Copy link
Contributor

@dcadenas dcadenas commented Sep 2, 2024

Adds batched messages for follow notifications, new metrics, a way to measure when to aggregate or not and more tests

@dcadenas dcadenas force-pushed the follow-change-aggregator branch from 29ceaa8 to d866f70 Compare September 2, 2024 23:24
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10674055156

Details

  • 374 of 416 (89.9%) changed or added relevant lines in 8 files are covered.
  • 8 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.8%) to 59.21%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/domain/follow_change_aggregator.rs 219 221 99.1%
src/domain/follows_differ.rs 5 7 71.43%
src/publisher.rs 29 31 93.55%
src/worker_pool.rs 0 4 0.0%
src/tokio_rate_limiter.rs 11 20 55.0%
src/domain/follow_change_batch.rs 94 104 90.38%
src/account_info.rs 6 19 31.58%
Files with Coverage Reduction New Missed Lines %
src/domain/follow_change.rs 1 53.85%
src/domain/follows_differ.rs 2 66.79%
src/worker_pool.rs 5 0.79%
Totals Coverage Status
Change from base Build 10648249586: 0.8%
Covered Lines: 1212
Relevant Lines: 1361

💛 - Coveralls

@dcadenas dcadenas merged commit 1b03fcf into main Sep 2, 2024
6 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.

2 participants