mirror of
https://github.com/mautrix/signal.git
synced 2025-03-14 14:15:36 +00:00
signalmeow/backup: remove incorrect comment
The early returns are caused by duplicate calls to WaitForTransfer
This commit is contained in:
parent
1e622b7bc6
commit
dceab3c8b3
1 changed files with 0 additions and 3 deletions
|
@ -278,9 +278,6 @@ func (cli *Client) WaitForTransfer(ctx context.Context) (*TransferArchiveMetadat
|
|||
}
|
||||
reqDuration := time.Since(reqStart)
|
||||
if reqDuration < reqTimeout-10*time.Second {
|
||||
// There seems to be a bug or feature when the transfer fails that causes the server to
|
||||
// immediately return 204 until the user clicks "Continue" on their phone, so sleep for
|
||||
// a bit to avoid sending requests too often.
|
||||
time.Sleep(15 * time.Second)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue