summaryrefslogtreecommitdiff
path: root/internal
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
commitc3c76df50f2e1c784d938e3750b24f20cd4a5c8d (patch)
treefcad0dba81106afdfa615f6213d99d5954c90fea /internal
parentc7efd8b0ec63430784dc6694213b9685ebdf3f9c (diff)
simplify and get rid of pperf
Diffstat (limited to 'internal')
-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",
}
}