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

Draft: Perf tweaks test #1971

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

kruai
Copy link
Collaborator

@kruai kruai commented Oct 2, 2024

Overview

This PR attempts some MQ consumer performance tweaks. I'll continue to make changes to try to improve it

@kruai kruai requested a review from a team as a code owner October 2, 2024 14:36
app/config.py Outdated
@@ -314,7 +314,7 @@ def __init__(self, runtime_environment):
self.rebuild_events_time_limit = int(os.getenv("REBUILD_EVENTS_TIME_LIMIT", "3600")) # 1 hour
self.sp_authorized_users = os.getenv("SP_AUTHORIZED_USERS", "tuser@redhat.com").split()
self.mq_db_batch_max_messages = int(os.getenv("MQ_DB_BATCH_MAX_MESSAGES", "1"))
self.mq_db_batch_max_seconds = int(os.getenv("MQ_DB_BATCH_MAX_SECONDS", "1"))
self.mq_db_batch_max_seconds = int(os.getenv("MQ_DB_BATCH_MAX_SECONDS", "0.5"))
Copy link
Contributor

Choose a reason for hiding this comment

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

self.mq_db_batch_max_seconds = float(os.getenv("MQ_DB_BATCH_MAX_SECONDS", "0.5"))

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

whoops, good call

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