Closed shrivu-stripe closed 4 years ago
cc @keitwb
@shrivu-stripe try the latest master of this library and see if that doesn't fix it.
On master bbd9b6f42b21 --
Still getting ~20% of runs:
coroutine 72 [running]:
github.com/signalfx/signalfx-go/signalflow.(*Computation).bufferDataMessages(0xc000113790)
/Users/shrivu/stripe/siren/vendor/github.com/signalfx/signalfx-go/signalflow/computation.go:302 +0x251
created by github.com/signalfx/signalfx-go/signalflow.newComputation
/Users/shrivu/stripe/siren/vendor/github.com/signalfx/signalfx-go/signalflow/computation.go:81 +0x1a8
exit status 2
(should have included the error msg in the original issue, my b)
Ok, that is another channel that is closed that I didn't cover in the last PR, let me deal with that one too.
I'm trying to connect, execute, read detector meta data, and close the connection.
The result of the code below is an occasional panic, I'm wondering if there's a panic-free way to do this and/or if this a bug?
I've tried including
execResult.Stop()
(placed before .Close()) but it still panics.