use shared psrpc utils (#2506)

* use shared psrpc utils

* fix

* deps
This commit is contained in:
Paul Wells
2024-02-24 00:38:49 -08:00
committed by GitHub
parent 013c933636
commit e5b8e25064
10 changed files with 34 additions and 163 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func NewSignalClient(nodeID livekit.NodeID, bus psrpc.MessageBus, config config.
c, err := rpc.NewTypedSignalClient(
nodeID,
bus,
middleware.WithClientMetrics(prometheus.PSRPCMetricsObserver{}),
middleware.WithClientMetrics(rpc.PSRPCMetricsObserver{}),
psrpc.WithClientChannelSize(config.StreamBufferSize),
)
if err != nil {