Skip to content

Commit

Permalink
fixup! Do not re-use connections
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbock committed Sep 13, 2024
1 parent d31113e commit 0f34839
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,9 @@ type ReportToExecute struct {
type ReportRunner struct {
Config *config.Config
Db *gorm.DB
FilescomClient common.FilesComClient
FilesComClientFactory common.FilesComClientFactory
Name, Subscriber, Basedir string
Reports []ReportToExecute
SalesforceClient common.SalesforceClient
SalesforceClientFactory common.SalesforceClientFactory
}

Expand Down Expand Up @@ -270,10 +268,8 @@ func NewReportRunner(cfg *config.Config, dbConn *gorm.DB, sf common.SalesforceCl
reportRunner.Basedir = dir
reportRunner.Config = cfg
reportRunner.Db = dbConn
reportRunner.FilescomClient = fc
reportRunner.FilesComClientFactory = filesComClientFactory
reportRunner.Name = name
reportRunner.SalesforceClient = sf
reportRunner.SalesforceClientFactory = salesforceClientFactory
reportRunner.Subscriber = subscriber

Expand Down

0 comments on commit 0f34839

Please sign in to comment.