mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
feat(GODT-2801): Debug names for QueuedChannels
https://github.com/ProtonMail/gluon/pull/385 https://github.com/ProtonMail/go-proton-api/pull/90
This commit is contained in:
@ -305,7 +305,7 @@ func (t *testCtx) initFrontendClient() error {
|
||||
return fmt.Errorf("could not start event stream: %w", err)
|
||||
}
|
||||
|
||||
eventCh := async.NewQueuedChannel[*frontend.StreamEvent](0, 0, async.NoopPanicHandler{})
|
||||
eventCh := async.NewQueuedChannel[*frontend.StreamEvent](0, 0, async.NoopPanicHandler{}, "test-frontend-client")
|
||||
|
||||
go func() {
|
||||
defer eventCh.CloseAndDiscardQueued()
|
||||
|
||||
Reference in New Issue
Block a user