simplify agent registration (#3018)

* simplify agent registration

* testutils

* deps

* fix

* gen

* cleanup

* lower job load
This commit is contained in:
Paul Wells
2024-09-19 05:58:30 -07:00
committed by GitHub
parent 94d7b1708f
commit 61179d5624
8 changed files with 430 additions and 418 deletions
+4
View File
@@ -56,6 +56,10 @@ func (c *WSSignalConnection) Close() error {
return c.conn.Close()
}
func (c *WSSignalConnection) SetReadDeadline(deadline time.Time) error {
return c.conn.SetReadDeadline(deadline)
}
func (c *WSSignalConnection) ReadRequest() (*livekit.SignalRequest, int, error) {
for {
// handle special messages and pass on the rest