8000 Sample: Auto Heartbeat via Interceptor by tsurdilo · Pull Request #745 · temporalio/samples-java · GitHub
[go: up one dir, main page]

Skip to content

Sample: Auto Heartbeat via Interceptor #745

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

tsurdilo
Copy link
Contributor

autoheartbeat sample ..support cancelation

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
@tsurdilo tsurdilo requested review from antmendoza and a team as code owners June 20, 2025 04:43
Copy link
Member
@antmendoza antmendoza left a comment

Choose a reason for hiding this comment

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

thanks @tsurdilo, disregard my previous comment (deleted). I got confused with the other PR that uses the same branch name

}
}
}
return super.execute(input);
Copy link
Member

Choose a reason for hiding this comment

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

I think the activity function is executed twice when there is a heartbeat, here and in line 74 of this same file

return super.execute(input);
}

public interface AutoHeartbeaterCancellationCallback {
Copy link
Member

Choose a reason for hiding this comment

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

this is not used, I believe it can be deleted

@tsurdilo
Copy link
Contributor Author

thanks for review @antmendoza . will update over weekend

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
0