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

Pass through request timeout to replicator code path #961

Merged
merged 3 commits into from
Jul 12, 2018

Conversation

samarabbas
Copy link
Contributor

No description provided.

@samarabbas samarabbas requested a review from wxing1292 July 12, 2018 22:02
@@ -783,7 +794,7 @@ func (r *historyReplicator) terminateWorkflow(domainID string, workflowID string
return err
}
// same workflow ID, same shard
return r.historyEngine.TerminateWorkflowExecution(ctx.Background(), &h.TerminateWorkflowExecutionRequest{
return r.historyEngine.TerminateWorkflowExecution(context.Background(), &h.TerminateWorkflowExecutionRequest{
Copy link
Contributor

Choose a reason for hiding this comment

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

i think this should use the ctx passed in

@samarabbas samarabbas merged commit 31b98fa into cadence-workflow:master Jul 12, 2018
@samarabbas samarabbas deleted the rate-limit-replicator branch July 12, 2018 22:58
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