mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
fix wshrpc concurrency
This commit is contained in:
@@ -335,7 +335,7 @@ func (w *WshRpc) runServer() {
|
||||
continue
|
||||
}
|
||||
if msg.IsRpcRequest() {
|
||||
w.handleRequest(&msg)
|
||||
go w.handleRequest(&msg)
|
||||
} else {
|
||||
respCh := w.getResponseCh(msg.ResId)
|
||||
if respCh == nil {
|
||||
|
||||
Reference in New Issue
Block a user