Skip to content

Conversation

@yycptt
Copy link
Member

@yycptt yycptt commented Mar 29, 2022

What changed?

  • Add context parameter to visibility store interfaces.
  • NOTE: there's no behavior change in this PR. SQL, Cassandra and ElasticSearch store implementation still ignores the context passed it. Those will be changed in a follow up PR.

Why?

  • Enforce persistence timeout, instead of always timeout after 10s
  • Required for host level task worker pool

How did you test it?

  • Existing test

Potential risks

  • Very low, context is currently ignored by persistence store implementation

Is hotfix candidate?

  • No.

@yycptt yycptt requested a review from yiminc March 29, 2022 22:50
@yycptt yycptt requested a review from a team as a code owner March 29, 2022 22:50
@yycptt yycptt merged commit 3af96c6 into temporalio:master Mar 29, 2022
@yycptt yycptt deleted the persistence-ctx-visibility-store branch March 29, 2022 23:43
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