From e2b6a90d90a5f4bfd2658110ae8c2edf5777efb3 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 29 Jun 2021 10:22:26 +0100 Subject: [PATCH] Put gmectx back to 5 minutes --- federationapi/routing/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go index d9d28fdcf..6ef565130 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