summaryrefslogtreecommitdiff
path: root/internal/config/common.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-03-06 18:21:02 +0000
committerPaul Buetow <pbuetow@mimecast.com>2020-03-06 18:21:02 +0000
commita4f8e0926a1a6888cbab1cfd94229cf1cc5cba7d (patch)
treefcad0dba81106afdfa615f6213d99d5954c90fea /internal/config/common.go
parent6622def60bb96652b19e5f63185b1b9cc8b01a48 (diff)
simplify and get rid of pperfv2.1.1
Diffstat (limited to 'internal/config/common.go')
-rw-r--r--internal/config/common.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/config/common.go b/internal/config/common.go
index 8c07710..57f040c 100644
--- a/internal/config/common.go
+++ b/internal/config/common.go
@@ -18,12 +18,6 @@ type CommonConfig struct {
LogDir string
// The cache directory
CacheDir string
- // Do we want to enable pperf http server?
- PProfEnable bool `json:",omitempty"`
- // The HTTP port used by PProf
- PProfPort int `json:",omitempty"`
- // The PProf HTTP server bind address
- PProfBindAddress string `json:",omitempty"`
}
// Create a new default configuration.
@@ -35,8 +29,5 @@ func newDefaultCommonConfig() *CommonConfig {
ExperimentalFeaturesEnable: false,
LogDir: "log",
CacheDir: "cache",
- PProfEnable: false,
- PProfPort: 6060,
- PProfBindAddress: "0.0.0.0",
}
}