Skip to content

Commit

Permalink
config: lower job-status-consumer prefetch count
Browse files Browse the repository at this point in the history
addresses reanahub#436
  • Loading branch information
Vladyslav Moisieienkov committed Mar 31, 2022
1 parent 18ddca4 commit be74f85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Version 0.9.0 (UNRELEASED)

- Adds support for Kubernetes networking/v1 API to interactive sessions.
- Changes workflow list endpoint to add the possibility to filter by workflow id.
- Changes default consumer prefetch count to handle 10 messages instead of 200 in order to reduce the probability of 406 PRECONDITION errors on message acknowledgement.

Version 0.8.1 (2022-02-07)
---------------------------
Expand Down
2 changes: 1 addition & 1 deletion reana_workflow_controller/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
"""The value defines the max number of unacknowledged deliveries that are
permitted on a ``jobs-status`` consumer."""
Expand Down

0 comments on commit be74f85

Please sign in to comment.