From ce624a0ca6deb907d3145da6e6ecdda5a180bbd1 Mon Sep 17 00:00:00 2001 From: naiba Date: Sun, 14 Jul 2024 13:04:35 +0800 Subject: [PATCH] fix: loop delay --- service/rpc/io_stream.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/rpc/io_stream.go b/service/rpc/io_stream.go index d21d95f..74a7c12 100644 --- a/service/rpc/io_stream.go +++ b/service/rpc/io_stream.go @@ -100,6 +100,7 @@ LOOP: case <-time.After(timeout): break LOOP } + time.Sleep(time.Millisecond * 500) } if stream.userIo == nil && stream.agentIo == nil {