You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might be, have to monitor, the data channel is blocked. In TestMain we set the websocket datahandler buffer to 500 that might be something to do with it, might be too small. As an option, we could instead just spawn a reader for it which sends the data into garbage collection heaven.
diff --git a/exchanges/sharedtestvalues/sharedtestvalues.go b/exchanges/sharedtestvalues/sharedtestvalues.go
index d5a93d125..e93e3f331 100644
--- a/exchanges/sharedtestvalues/sharedtestvalues.go+++ b/exchanges/sharedtestvalues/sharedtestvalues.go@@ -41,7 +41,13 @@ const (
// GetWebsocketInterfaceChannelOverride returns a new interface based channel
// with the capacity set to WebsocketChannelOverrideCapacity
func GetWebsocketInterfaceChannelOverride() chan any {
- return make(chan any, WebsocketChannelOverrideCapacity)+ m := make(chan any, WebsocketChannelOverrideCapacity)+ go func() {+ for range m {+ // empty+ }+ }()+ return m
}
Spotted here: https://github.com/thrasher-corp/gocryptotrader/actions/runs/14190876788/job/39755064370?pr=1867#step:11:336
The text was updated successfully, but these errors were encountered: