Skip to content

Commit

Permalink
Fix dynamic plugins exhibiting very high CPU usage due to message str…
Browse files Browse the repository at this point in the history
…eam function. Closes #537
  • Loading branch information
kaidaguerre committed Feb 27, 2023
1 parent fcc4783 commit d449446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ func (p *Plugin) EstablishMessageStream(stream proto.WrapperPlugin_EstablishMess
log.Printf("[TRACE] plugin.EstablishMessageStream set on plugin: plugin.messageStream %p", p.messageStream)

// hold stream open
for {
}
select {}

return nil
}

Expand Down

0 comments on commit d449446

Please sign in to comment.