Skip to content

Commit

Permalink
Make long gRPC timeout configurable
Browse files Browse the repository at this point in the history
longhorn-2765

Signed-off-by: Phan Le <phan.le@suse.com>
  • Loading branch information
PhanLe1010 committed Jun 11, 2024
1 parent ef450e1 commit a5a409e
Show file tree
Hide file tree
Showing 6 changed files with 871 additions and 835 deletions.
112 changes: 56 additions & 56 deletions generated-py/imrpc/proxy_pb2.py

Large diffs are not rendered by default.

92 changes: 46 additions & 46 deletions generated-py/ptypes/syncagent_pb2.py

Large diffs are not rendered by default.

619 changes: 315 additions & 304 deletions pkg/generated/enginerpc/syncagent.pb.go

Large diffs are not rendered by default.

880 changes: 451 additions & 429 deletions pkg/generated/imrpc/proxy.pb.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions protobuf/imrpc/proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ message EngineSnapshotCloneRequest {
int32 file_sync_http_client_timeout = 5;
string from_engine_name = 6;
string from_volume_name = 7;
int64 grpc_timeout_seconds = 9;
}

message EngineSnapshotCloneStatusProxyResponse {
Expand Down Expand Up @@ -242,6 +243,7 @@ message EngineReplicaAddRequest {
bool fast_sync = 6;
int32 file_sync_http_client_timeout = 7;
string replica_name = 8;
int64 grpc_timeout_seconds = 9;
}

message EngineReplicaListProxyResponse {
Expand Down
1 change: 1 addition & 0 deletions protobuf/ptypes/syncagent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ message FilesSyncRequest {
repeated SyncFileInfo sync_file_info_list = 3;
bool fast_sync = 4;
int32 file_sync_http_client_timeout = 5;
int64 grpc_timeout_seconds = 6;
}

message SnapshotCloneRequest {
Expand Down

0 comments on commit a5a409e

Please sign in to comment.