Skip to content

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Send original update request back in accept/reject response

close #2073

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner May 21, 2024 14:24
.build();

// Clear the original request to allow GC to reclaim the memory.
originalRequest = Optional.empty();
Copy link
Member

Choose a reason for hiding this comment

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

Should do this on reject too correct? Or is there no reason because reject removes this whole state machine?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

reject is a terminal state so the whole state machine will be cleaned up

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 5ccb859 into temporalio:master May 21, 2024
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.

Send original update request back in accept/reject response
3 participants