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