From d8e4f78235ac1bc6b96daeeafb2cb712283b451e Mon Sep 17 00:00:00 2001 From: Mehdi Osman Date: Sun, 27 Feb 2022 19:03:13 +0000 Subject: [PATCH] Increase ctx timeout to 30s --- backend/pkg/db/postgres/connector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pkg/db/postgres/connector.go b/backend/pkg/db/postgres/connector.go index 9e4e82633..1eb29e04c 100644 --- a/backend/pkg/db/postgres/connector.go +++ b/backend/pkg/db/postgres/connector.go @@ -10,7 +10,7 @@ import ( ) func getTimeoutContext() context.Context { - ctx, _ := context.WithTimeout(context.Background(), time.Duration(time.Second*10)) + ctx, _ := context.WithTimeout(context.Background(), time.Duration(time.Second*30)) return ctx }