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

config: lower job-status-consumer prefetch count #439

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

VMois
Copy link

@VMois VMois commented Mar 30, 2022

addresses #436

@codecov-commenter
Copy link

Codecov Report

Merging #439 (c177d3c) into master (2e539ec) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #439   +/-   ##
=======================================
  Coverage   68.19%   68.19%           
=======================================
  Files          15       15           
  Lines        1327     1327           
=======================================
  Hits          905      905           
  Misses        422      422           
Impacted Files Coverage Δ
reana_workflow_controller/config.py 100.00% <ø> (ø)

@@ -52,7 +52,7 @@
"""List of file mime-type prefixes that can be previewed directly from the server."""

REANA_JOB_STATUS_CONSUMER_PREFETCH_COUNT = int(
os.getenv("REANA_JOB_STATUS_CONSUMER_PREFETCH_COUNT", 200)
os.getenv("REANA_JOB_STATUS_CONSUMER_PREFETCH_COUNT", 10)
Copy link
Member

Choose a reason for hiding this comment

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

Can you leave a note in CHANGES.rst about this change? Something like:

  • Changes default consumer prefetch count to handle 10 messages instead of 200 in order to reduce the probability of 406 PRECONDITION errors on message ack.

You can put the same message to reana repository.

@tiborsimko tiborsimko merged commit be74f85 into reanahub:master Mar 31, 2022
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