Fix blocking

This commit is contained in:
Zoltán Papp 2024-10-29 12:19:56 +01:00
parent 8f391b3ec1
commit bfb43a1246

View File

@ -106,7 +106,7 @@ func (m *Manager) Serve() error {
client, err := m.serverPicker.PickServer(m.ctx)
if err != nil {
m.reconnectGuard.StartReconnectTrys(m.ctx, nil)
go m.reconnectGuard.StartReconnectTrys(m.ctx, nil)
} else {
m.storeClient(client)
}