Skip to content

Conversation

@cretz
Copy link
Member

@cretz cretz commented Sep 26, 2023

What was changed

Exposed keep alive options, and defaulted them to enabled with 30s interval and 15s timeout by default. See temporalio/features#123.

Checklist

  1. Closes [Feature Request] Add client keep-alive support #585

@cretz cretz requested a review from a team as a code owner September 26, 2023 16:49
}

#[test]
fn keep_alive_defaults() {
Copy link
Member

Choose a reason for hiding this comment

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

I dunno how useful this is really, but, since you wrote it I'm fine keeping it too.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was scared of my Rust string in the default builder and I wanted to confirm it worked just for me, so I figured why not a test, but I agree in general this is a silly test

Comment on lines +1479 to +1480
.identity("enchicat".to_string())
.target_url(Url::parse("https://smolkitty").unwrap())
Copy link
Member

Choose a reason for hiding this comment

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

I am glad you have maintained the traditions

@cretz cretz merged commit 9056826 into temporalio:master Sep 26, 2023
@cretz cretz deleted the keep-alive branch September 26, 2023 17:13
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.

[Feature Request] Add client keep-alive support

2 participants