Put gmectx back to 5 minutes

This commit is contained in:
Neil Alexander 2021-06-29 10:22:26 +01:00
parent f645646ca9
commit e2b6a90d90
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -629,7 +629,7 @@ func (t *txnReq) processEventWithMissingState(
// Do this with a fresh context, so that we keep working even if the // Do this with a fresh context, so that we keep working even if the
// original request times out. With any luck, by the time the remote // original request times out. With any luck, by the time the remote
// side retries, we'll have fetched the missing state. // side retries, we'll have fetched the missing state.
gmectx, cancel := context.WithTimeout(context.Background(), time.Minute) gmectx, cancel := context.WithTimeout(context.Background(), time.Minute*5)
defer cancel() defer cancel()
// We are missing the previous events for this events. // We are missing the previous events for this events.
// This means that there is a gap in our view of the history of the // This means that there is a gap in our view of the history of the