Skip to content

Conversation

@gusinacio
Copy link
Contributor

No description provided.

@gusinacio gusinacio requested a review from carlosvdr October 23, 2024 19:00
@gusinacio gusinacio force-pushed the gustavo/tap-246-limit-the-amount-of-concurrent-rav-requests branch from 635e31f to c23b128 Compare October 23, 2024 19:01
@coveralls
Copy link

coveralls commented Oct 23, 2024

Pull Request Test Coverage Report for Build 11487689666

Details

  • 100 of 101 (99.01%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 72.692%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tap-agent/src/agent/sender_account.rs 44 45 97.78%
Totals Coverage Status
Change from base Build 11485279776: 0.3%
Covered Lines: 5007
Relevant Lines: 6888

💛 - Coveralls

@gusinacio gusinacio self-assigned this Oct 23, 2024
@gusinacio gusinacio changed the title feat: add adaptative concurrency to rav requests feat: limit the max concurrent rav requests Oct 23, 2024
@gusinacio gusinacio changed the title feat: limit the max concurrent rav requests fix: limit the max concurrent rav requests Oct 23, 2024
total_fee_outside_buffer,
trigger_value = state.config.tap.rav_request_trigger_value,
"Total fee greater than the trigger value. Triggering RAV request"
let has_limit_available = state.adaptive_limiter.has_limit();
Copy link
Contributor

Choose a reason for hiding this comment

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

I do not like much the name has_limit_available, id rather have something like has_available_slots_for_requests or thread or sth like that to make it more clear ?
What do you think
I know its not parallel but maybe it gives the idea better

Signed-off-by: Gustavo Inacio <[email protected]>
@gusinacio gusinacio requested a review from carlosvdr October 23, 2024 20:55
Copy link
Contributor

@carlosvdr carlosvdr left a comment

Choose a reason for hiding this comment

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

lgtm

@gusinacio gusinacio merged commit b4c876d into main Oct 23, 2024
10 checks passed
@gusinacio gusinacio deleted the gustavo/tap-246-limit-the-amount-of-concurrent-rav-requests branch October 23, 2024 21:09
@github-actions github-actions bot mentioned this pull request Oct 23, 2024
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