Tweak again

This commit is contained in:
Neil Alexander 2022-10-03 11:16:29 +01:00
parent d3aff4b38b
commit a22098e445
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -101,7 +101,10 @@ func (p *PDUStreamProvider) CompleteSync(
)
if jerr != nil {
req.Log.WithError(jerr).Error("p.getJoinResponseForCompleteSync failed")
return from
if err == context.DeadlineExceeded || err == context.Canceled || err == sql.ErrTxDone {
return from
}
continue
}
req.Response.Rooms.Join[roomID] = *jr
req.Rooms[roomID] = gomatrixserverlib.Join