From e0f4ccc46c8601f322640b72e100f973a837ef02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= Date: Sun, 16 Feb 2020 18:07:36 +0000 Subject: server kills subprocesses correctly on cancel --- internal/config/common.go | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'internal/config/common.go') 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", } } -- cgit v1.2.3