Skip to content

Commit

Permalink
Merge pull request #2115 from gobitfly/NOBIDS/RemoveUnusedConfigParam…
Browse files Browse the repository at this point in the history
…eter

(NOBIDS) Remove unused config parameter
  • Loading branch information
recy21 authored Apr 18, 2023
2 parents 08fb5ed + 2a34cba commit 4c5aa53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
4 changes: 0 additions & 4 deletions cmd/explorer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,10 +731,6 @@ func main() {
services.InitGitCoinFeed()
}

// if utils.Config.Frontend.PoolsUpdater.Enabled {
// services.InitPools() // making sure the website is available before updating
// }

utils.WaitForCtrlC()

logrus.Println("exiting...")
Expand Down
13 changes: 6 additions & 7 deletions types/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,12 @@ type Config struct {
Sender string `yaml:"sender" envconfig:"FRONTEND_MAIL_MAILGUN_SENDER"`
} `yaml:"mailgun"`
} `yaml:"mail"`
GATag string `yaml:"gatag" envconfig:"GATAG"`
VerifyAppSubs bool `yaml:"verifyAppSubscriptions" envconfig:"FRONTEND_VERIFY_APP_SUBSCRIPTIONS"`
AppSubsAppleSecret string `yaml:"appSubsAppleSecret" envconfig:"FRONTEND_APP_SUBS_APPLE_SECRET"`
AppSubsGoogleJSONPath string `yaml:"appSubsGoogleJsonPath" envconfig:"FRONTEND_APP_SUBS_GOOGLE_JSON_PATH"`
CleanupOldMachineStats bool `yaml:"cleanupOldMachineStats" envconfig:"FRONTEND_CLEANUP_OLD_MACHINE_STATS"`
DisableStatsInserts bool `yaml:"disableStatsInserts" envconfig:"FRONTEND_DISABLE_STATS_INSERTS"`
ShowDonors struct {
GATag string `yaml:"gatag" envconfig:"GATAG"`
VerifyAppSubs bool `yaml:"verifyAppSubscriptions" envconfig:"FRONTEND_VERIFY_APP_SUBSCRIPTIONS"`
AppSubsAppleSecret string `yaml:"appSubsAppleSecret" envconfig:"FRONTEND_APP_SUBS_APPLE_SECRET"`
AppSubsGoogleJSONPath string `yaml:"appSubsGoogleJsonPath" envconfig:"FRONTEND_APP_SUBS_GOOGLE_JSON_PATH"`
DisableStatsInserts bool `yaml:"disableStatsInserts" envconfig:"FRONTEND_DISABLE_STATS_INSERTS"`
ShowDonors struct {
Enabled bool `yaml:"enabled" envconfig:"FRONTEND_SHOW_DONORS_ENABLED"`
URL string `yaml:"gitcoinURL" envconfig:"FRONTEND_GITCOIN_URL"`
} `yaml:"showDonors"`
Expand Down

0 comments on commit 4c5aa53

Please sign in to comment.