Skip to content

Commit fac7f18

Browse files
combine all egress requests into IOInfo (#495)
* combine all egress requests into IOInf o * generated protobuf * increase StartEgress timeout --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 25bcccd commit fac7f18

File tree

4 files changed

+277
-100
lines changed

4 files changed

+277
-100
lines changed

rpc/egress_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func NewEgressClient(nodeID livekit.NodeID, bus psrpc.MessageBus) (EgressClient,
4444
clientID := string(nodeID)
4545
internalClient, err := NewEgressInternalClient(clientID, bus, middleware.WithRPCRetries(middleware.RetryOptions{
4646
MaxAttempts: retries,
47-
Timeout: psrpc.DefaultClientTimeout,
47+
Timeout: time.Second * 10,
4848
IsRecoverable: func(err error) bool {
4949
var e psrpc.Error
5050
if !errors.As(err, &e) {

rpc/io.pb.go

Lines changed: 157 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)