fix: set client timeout to a high number for now
This commit is contained in:
parent
ed15133659
commit
3e0246df28
|
@ -170,6 +170,7 @@ func (s *StorageServiceImpl) Init() error {
|
||||||
|
|
||||||
client.SetBaseURL(s.portal.Config().GetString("core.sia.url"))
|
client.SetBaseURL(s.portal.Config().GetString("core.sia.url"))
|
||||||
client.SetCommonBasicAuth("", s.portal.Config().GetString("core.sia.key"))
|
client.SetCommonBasicAuth("", s.portal.Config().GetString("core.sia.key"))
|
||||||
|
client.SetTimeout(24 * time.Hour)
|
||||||
|
|
||||||
s.httpApi = client
|
s.httpApi = client
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue