From 826576ba75a1e51b9e212be7669b917ec23c8b36 Mon Sep 17 00:00:00 2001 From: Nonoo Date: Wed, 28 Oct 2020 10:14:06 +0100 Subject: [PATCH] Further increase connect reliability --- controlstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controlstream.go b/controlstream.go index 67da4d5..0028354 100644 --- a/controlstream.go +++ b/controlstream.go @@ -148,7 +148,7 @@ func (s *controlStream) handleRead(r []byte) error { if r[21] == 0x05 && !s.serialAndAudioStreamOpened { // Answer for our second auth? s.secondAuthTimer.Stop() - time.AfterFunc(300*time.Millisecond, func() { + time.AfterFunc(time.Second, func() { if err := s.sendRequestSerialAndAudio(); err != nil { reportError(err) }