Skip to content

Commit

Permalink
Deprecate refresh call, revert old newsession impl "fix", fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Sep 19, 2022
1 parent 5a08142 commit 046bdd2
Show file tree
Hide file tree
Showing 12 changed files with 83 additions and 73 deletions.
87 changes: 44 additions & 43 deletions go/internal/proto/session/session.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions go/internal/proto/session/session_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ service SessionService {
/*
* Keep-alive a given token to ensure that a session is not cleaned prematurely. The response may include an updated
* token that should replace the existing token for subsequent requests.
*
* Deprecated: Please use Flight's Handshake with an empty payload.
*/
rpc RefreshSessionToken(HandshakeRequest) returns (HandshakeResponse) {}
rpc RefreshSessionToken(HandshakeRequest) returns (HandshakeResponse) {
option deprecated = true;
}


/*
* Proactively close an open session. Sessions will automatically close on timeout. When a session is closed, all
Expand Down
Loading

0 comments on commit 046bdd2

Please sign in to comment.