From 54785eaa12a7688da83b1351d1ab07b54f7e7c0e Mon Sep 17 00:00:00 2001 From: p4u Date: Thu, 23 Nov 2023 15:07:54 +0100 Subject: [PATCH] rpcapi: increase ipfs timeout and size --- rpcapi/filehandlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcapi/filehandlers.go b/rpcapi/filehandlers.go index f668586f8..48965a4d8 100644 --- a/rpcapi/filehandlers.go +++ b/rpcapi/filehandlers.go @@ -12,8 +12,8 @@ import ( ) const ( - storageTimeout = time.Second * 20 - maxJSONsize = 1024 * 20 // 20 KiB + storageTimeout = time.Second * 240 + maxJSONsize = 1024 * 1024 // 1 MiB maxFetchFile = 1024 * 1024 * 2 // 2 MiB )