Skip to content

Dont use is importing for push limit#97

Draft
elhmn wants to merge 2 commits intomainfrom
elhmn-dont-use-is-importing-for-push-limit
Draft

Dont use is importing for push limit#97
elhmn wants to merge 2 commits intomainfrom
elhmn-dont-use-is-importing-for-push-limit

Conversation

@elhmn
Copy link
Copy Markdown
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