From 3e0246df28ab06254e06079341446067cc6c5970 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 21 Jan 2024 00:19:04 -0500 Subject: [PATCH] fix: set client timeout to a high number for now --- storage/storage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/storage.go b/storage/storage.go index 18a1994..6acf3ce 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -170,6 +170,7 @@ func (s *StorageServiceImpl) Init() error { client.SetBaseURL(s.portal.Config().GetString("core.sia.url")) client.SetCommonBasicAuth("", s.portal.Config().GetString("core.sia.key")) + client.SetTimeout(24 * time.Hour) s.httpApi = client