Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move getTaskQueueManager call into redirect methods #4759

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Conversation

dnr
Copy link
Member

@dnr dnr commented Aug 10, 2023

What changed?
Make RedirectToVersionedQueueFor{Add,Poll} return a tqm directly. This is just refactoring, almost no behavior changes (in one specific case, query with user data disabled, it may do an extra task queue load).

Why?
Refactoring in advance of future work.

How did you test it?
Existing tests

@dnr dnr requested a review from a team as a code owner August 10, 2023 01:01
@dnr dnr merged commit 7a11f91 into temporalio:main Aug 10, 2023
@dnr dnr deleted the ver39b branch August 10, 2023 19:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants