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

Dont use is importing for push limit #97

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

elhmn
Copy link
Contributor

@elhmn elhmn commented Jan 17, 2025

Now that we have the import_skip_push_limit stat available, we can use it to skip push limiti.

Depends on #96 to be merged and tested first.

@elhmn elhmn changed the base branch from main to elhmn-split-the-is-importing-stat January 17, 2025 08:29
@elhmn elhmn changed the base branch from elhmn-split-the-is-importing-stat to main January 17, 2025 08:30
elhmn added 2 commits January 17, 2025 17:29
We want to use two new different sockstats,
`import_skip_push_limit` and `import_soft_throttling`
which are respectively used to allow a higher push limit,
and implement soft throttling policy for imports.

We still forward the `is_importing` stat for to skip
push limit for backward compatibility. We plan to
remove it on a subsequent PR.
Now that we have the `import_skip_push_limit` stat
available, we can use it to skip push limiti.
@elhmn elhmn force-pushed the elhmn-dont-use-is-importing-for-push-limit branch from 47dc48d to ea702de Compare January 17, 2025 17:33
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.

1 participant