diff options
| author | Paul Bütow <pbuetow@mimecast.com> | 2020-02-16 18:07:36 +0000 |
|---|---|---|
| committer | Paul Bütow <pbuetow@mimecast.com> | 2020-02-16 18:07:36 +0000 |
| commit | e0f4ccc46c8601f322640b72e100f973a837ef02 (patch) | |
| tree | 61a1fcf66daea222da19500b0b6ae60d1e89a5d9 /internal/config/common.go | |
| parent | 6bca637513e065a33cadaccad97ada25eb7a6b00 (diff) | |
server kills subprocesses correctly on cancel
Diffstat (limited to 'internal/config/common.go')
| -rw-r--r-- | internal/config/common.go | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/internal/config/common.go b/internal/config/common.go index f0f1a94..a09a3ad 100644 --- a/internal/config/common.go +++ b/internal/config/common.go @@ -9,13 +9,10 @@ type CommonConfig struct { // The log strategy to use, one of // stdout: only log to stdout (useful when used with systemd) // daily: create a log file for every day - LogStrategy string - LogDir string - CacheDir string - TmpDir string `json:",omitempty"` - PProfEnable bool `json:",omitempty"` - PProfPort int `json:",omitempty"` - PProfBindAddress string `json:",omitempty"` + LogStrategy string + LogDir string + CacheDir string + TmpDir string `json:",omitempty"` } // Create a new default configuration. @@ -28,8 +25,5 @@ func newDefaultCommonConfig() *CommonConfig { LogDir: "log", CacheDir: "cache", TmpDir: "/tmp", - PProfEnable: false, - PProfPort: 6060, - PProfBindAddress: "0.0.0.0", } } |
