Skip to content

v1.18: corrected to not use hardcoded connections count for unstaked (backport of #633)#734

Merged
lijunwangs merged 1 commit intov1.18from
mergify/bp/v1.18/pr-633
Apr 11, 2024
Merged

v1.18: corrected to not use hardcoded connections count for unstaked (backport of #633)#734
lijunwangs merged 1 commit intov1.18from
mergify/bp/v1.18/pr-633

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify Bot commented Apr 11, 2024

The max unstaked connections can be passed in value in spawn_server. This will make the QOS incorrectly accounting for the real passed in unstaked max connection count. This is used by jito-relayers.

Do not use the hardcoded one.


This is an automatic backport of pull request #633 done by Mergify.

* corrected to not use hardcoded connections count for unstaked

* Fixed a math problem on max_unstaked_load_in_throttling_window

* Fixed a unit test failure

(cherry picked from commit 592107a)
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.5%. Comparing base (cf5e8d3) to head (f7387cf).

Additional details and impacted files
@@            Coverage Diff            @@
##            v1.18     #734     +/-   ##
=========================================
- Coverage    81.5%    81.5%   -0.1%     
=========================================
  Files         827      827             
  Lines      224833   224837      +4     
=========================================
- Hits       183440   183422     -18     
- Misses      41393    41415     +22     

@lijunwangs lijunwangs merged commit aecf44d into v1.18 Apr 11, 2024
@lijunwangs lijunwangs deleted the mergify/bp/v1.18/pr-633 branch April 11, 2024 23:09
anwayde pushed a commit to firedancer-io/agave that referenced this pull request Jul 23, 2024
…(backport of anza-xyz#633) (anza-xyz#734)

corrected to not use hardcoded connections count for unstaked (anza-xyz#633)
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.

3 participants