mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-14 03:53:50 +01:00
Put gmectx back to 5 minutes
This commit is contained in:
parent
f645646ca9
commit
e2b6a90d90
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue