aboutsummaryrefslogtreecommitdiff
path: root/federationapi
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-06-29 10:22:26 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2021-06-29 10:22:26 +0100
commite2b6a90d90a5f4bfd2658110ae8c2edf5777efb3 (patch)
tree329b41eb3e27b14b2b41ddb1b532ffb1cf6538e8 /federationapi
parentf645646ca90eb361c5673dc65bc82673de474559 (diff)
Put gmectx back to 5 minutes
Diffstat (limited to 'federationapi')
-rw-r--r--federationapi/routing/send.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go
index d9d28fdc..6ef56513 100644
--- a/federationapi/routing/send.go
+++ b/federationapi/routing/send.go
@@ -629,7 +629,7 @@ func (t *txnReq) processEventWithMissingState(
// 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
// 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()
// We are missing the previous events for this events.
// This means that there is a gap in our view of the history of the