diff --git a/bgs/bgs.go b/bgs/bgs.go index debe6ad19..336876a3e 100644 --- a/bgs/bgs.go +++ b/bgs/bgs.go @@ -192,6 +192,8 @@ func NewBGS(db *gorm.DB, ix *indexer.Indexer, repoman *repomgr.RepoManager, evtm compactor.Start(bgs) bgs.compactor = compactor + bgs.httpClient.Timeout = time.Second * 5 + return bgs, nil }