From 4a12e0152e6765133a3557cf98bad7b280b72732 Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Tue, 31 Oct 2023 23:10:46 -0700 Subject: [PATCH] increase default psrpc timeout (#510) * increase default psrpc timeout * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- rpc/participant.pb.go | 75 ++++++++++++++++++++-------------------- rpc/participant.proto | 4 --- rpc/participant.psrpc.go | 54 ++++++++++++++--------------- rpc/typed_api.go | 4 +-- 4 files changed, 66 insertions(+), 71 deletions(-) diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index b2ed59a6..6c121e58 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 -// protoc v3.20.3 +// protoc v4.23.4 // source: rpc/participant.proto package rpc @@ -29,44 +29,43 @@ var file_rpc_participant_proto_rawDesc = []byte{ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x93, 0x04, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x81, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x22, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x61, - 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x26, 0xb2, 0x89, 0x01, 0x22, 0x10, 0x01, 0x1a, 0x1e, 0x0a, 0x0b, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x12, 0x7b, 0x0a, 0x12, 0x4d, 0x75, 0x74, - 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x12, - 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4d, 0x75, 0x74, 0x65, 0x52, 0x6f, - 0x6f, 0x6d, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4d, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x6f, - 0x6d, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, - 0xb2, 0x89, 0x01, 0x22, 0x10, 0x01, 0x1a, 0x1e, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x12, 0x78, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, - 0x70, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x26, 0xb2, 0x89, 0x01, 0x22, 0x10, 0x01, - 0x1a, 0x1e, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, - 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x12, 0x88, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, - 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x26, 0xb2, 0x89, 0x01, 0x22, 0x10, 0x01, 0x1a, 0x1e, 0x0a, 0x0b, 0x70, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x8a, 0x04, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x7f, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x22, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x61, 0x72, + 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x24, 0xb2, 0x89, 0x01, 0x20, 0x10, 0x01, 0x1a, 0x1c, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x12, 0x79, 0x0a, 0x12, 0x4d, 0x75, 0x74, 0x65, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4d, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x54, + 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4d, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x72, + 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0xb2, 0x89, 0x01, + 0x20, 0x10, 0x01, 0x1a, 0x1c, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, + 0x6e, 0x74, 0x12, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x18, + 0x01, 0x12, 0x76, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x22, 0x24, 0xb2, 0x89, 0x01, 0x20, 0x10, 0x01, 0x1a, 0x1c, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x0b, 0x70, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x42, 0x2c, 0x5a, 0x2a, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x12, 0x86, 0x01, 0x0a, 0x13, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0xb2, 0x89, + 0x01, 0x20, 0x10, 0x01, 0x1a, 0x1c, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x6e, 0x74, 0x12, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, + 0x18, 0x01, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x72, 0x70, 0x63, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_rpc_participant_proto_goTypes = []interface{}{ diff --git a/rpc/participant.proto b/rpc/participant.proto index 7d7a6229..52371e35 100644 --- a/rpc/participant.proto +++ b/rpc/participant.proto @@ -16,7 +16,6 @@ service Participant { group: "participant" names: ["participant"] typed: true - single_server: true }; }; }; @@ -27,7 +26,6 @@ service Participant { group: "participant" names: ["participant"] typed: true - single_server: true }; }; }; @@ -38,7 +36,6 @@ service Participant { group: "participant" names: ["participant"] typed: true - single_server: true }; }; }; @@ -49,7 +46,6 @@ service Participant { group: "participant" names: ["participant"] typed: true - single_server: true }; }; }; diff --git a/rpc/participant.psrpc.go b/rpc/participant.psrpc.go index 4693239f..dd645b5b 100644 --- a/rpc/participant.psrpc.go +++ b/rpc/participant.psrpc.go @@ -84,10 +84,10 @@ func NewParticipantClient[ParticipantTopicType ~string](bus psrpc.MessageBus, op ID: rand.NewClientID(), } - sd.RegisterMethod("RemoveParticipant", false, false, false, true) - sd.RegisterMethod("MutePublishedTrack", false, false, false, true) - sd.RegisterMethod("UpdateParticipant", false, false, false, true) - sd.RegisterMethod("UpdateSubscriptions", false, false, false, true) + sd.RegisterMethod("RemoveParticipant", false, false, true, true) + sd.RegisterMethod("MutePublishedTrack", false, false, true, true) + sd.RegisterMethod("UpdateParticipant", false, false, true, true) + sd.RegisterMethod("UpdateSubscriptions", false, false, true, true) rpcClient, err := client.NewRPCClient(sd, bus, opts...) if err != nil { @@ -134,10 +134,10 @@ func NewParticipantServer[ParticipantTopicType ~string](svc ParticipantServerImp s := server.NewRPCServer(sd, bus, opts...) - sd.RegisterMethod("RemoveParticipant", false, false, false, true) - sd.RegisterMethod("MutePublishedTrack", false, false, false, true) - sd.RegisterMethod("UpdateParticipant", false, false, false, true) - sd.RegisterMethod("UpdateSubscriptions", false, false, false, true) + sd.RegisterMethod("RemoveParticipant", false, false, true, true) + sd.RegisterMethod("MutePublishedTrack", false, false, true, true) + sd.RegisterMethod("UpdateParticipant", false, false, true, true) + sd.RegisterMethod("UpdateSubscriptions", false, false, true, true) return &participantServer[ParticipantTopicType]{ svc: svc, rpc: s, @@ -202,24 +202,24 @@ func (s *participantServer[ParticipantTopicType]) Kill() { } var psrpcFileDescriptor4 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto + // 299 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xcf, 0x4a, 0xc3, 0x40, - 0x10, 0xc6, 0x59, 0x14, 0x0f, 0x5b, 0x04, 0xbb, 0x2a, 0x94, 0x80, 0xa5, 0x56, 0xf1, 0x20, 0x92, - 0x80, 0xbe, 0x81, 0x37, 0x0f, 0x42, 0x89, 0x7a, 0xf1, 0x22, 0xc9, 0x66, 0x6c, 0x97, 0xfc, 0x99, - 0x75, 0x77, 0x12, 0x14, 0x4f, 0xde, 0xf4, 0xec, 0x9b, 0xf8, 0x84, 0xd2, 0xa6, 0x49, 0xb7, 0x15, - 0xc5, 0x9e, 0x42, 0xbe, 0x6f, 0xe6, 0xfb, 0xed, 0xcc, 0x2e, 0xdf, 0x37, 0x5a, 0x06, 0x3a, 0x32, - 0xa4, 0xa4, 0xd2, 0x51, 0x41, 0xbe, 0x36, 0x48, 0x28, 0x36, 0x8c, 0x96, 0xde, 0x36, 0x6a, 0x52, - 0x58, 0xd8, 0x5a, 0xf3, 0xf6, 0x32, 0x55, 0x41, 0xaa, 0xe8, 0x21, 0xc7, 0x04, 0xb2, 0x46, 0x15, - 0x8d, 0x6a, 0x10, 0xf3, 0x5a, 0x3b, 0xff, 0xdc, 0xe4, 0x9d, 0xd1, 0x22, 0x53, 0xbc, 0x31, 0xde, - 0x0d, 0x21, 0xc7, 0x0a, 0x5c, 0x75, 0xe0, 0xcf, 0x5b, 0xfd, 0x10, 0x31, 0x77, 0x9c, 0xab, 0x04, - 0x0a, 0x52, 0xf4, 0xe2, 0x0d, 0x17, 0x15, 0xab, 0xdd, 0x21, 0x58, 0x8d, 0x85, 0x85, 0xe1, 0xc9, - 0xd7, 0x07, 0x1b, 0xee, 0x30, 0xaf, 0xcf, 0x3b, 0xce, 0x18, 0xc2, 0xfd, 0xe9, 0xb1, 0x01, 0x13, - 0xaf, 0x5c, 0x5c, 0x97, 0x04, 0xa3, 0x32, 0xce, 0x94, 0x9d, 0x40, 0x72, 0x6b, 0x22, 0x99, 0x8a, - 0x83, 0x96, 0x30, 0x35, 0xa7, 0xe7, 0x98, 0xe9, 0x21, 0x3c, 0x95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37, 0xa4, 0xa2, 0xbd, 0xf9, 0x0b, 0xba, 0xf9, 0x09, 0x00, + 0x00, 0xff, 0xff, 0x0d, 0x71, 0xfb, 0x47, 0x98, 0x02, 0x00, 0x00, } diff --git a/rpc/typed_api.go b/rpc/typed_api.go index 28dccb5d..070276a8 100644 --- a/rpc/typed_api.go +++ b/rpc/typed_api.go @@ -36,8 +36,8 @@ type PSRPCConfig struct { var DefaultPSRPCConfig = PSRPCConfig{ MaxAttempts: 3, - Timeout: 500 * time.Millisecond, - Backoff: 500 * time.Millisecond, + Timeout: 3 * time.Second, + Backoff: 2 * time.Second, BufferSize: 1000, }