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

Update storage pumper redis usage watermark #216

Merged

Conversation

Napoleon0621
Copy link
Contributor

@Napoleon0621 Napoleon0621 commented Aug 2, 2023

When storage pumper pumps ready job from database to redis, it will check the current redis usage.
If the usage is above the threshold(previously set to 60%), the pumper will stop pumping jobs to redis.
This PR adjust that threshold from 60% to 80% based on real-life scenario, for 80% can be regarded as a relatively safe base line.

@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #216 (a5fc4fd) into master (44dea57) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #216      +/-   ##
==========================================
- Coverage   56.11%   56.05%   -0.07%     
==========================================
  Files          38       38              
  Lines        2983     2983              
==========================================
- Hits         1674     1672       -2     
- Misses       1092     1093       +1     
- Partials      217      218       +1     
Flag Coverage Δ
unittests 56.05% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

@Napoleon0621 Napoleon0621 merged commit 6122a4b into bitleak:master Aug 2, 2023
7 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