fix: set client timeout to a high number for now

This commit is contained in:
Derrick Hammer 2024-01-21 00:19:04 -05:00
parent ed15133659
commit 3e0246df28
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -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