From d84320fffbf958b92d584d0be337299356673443 Mon Sep 17 00:00:00 2001 From: esrrhs Date: Fri, 1 Nov 2019 20:54:55 +0800 Subject: [PATCH] add --- cmd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 02b53ae..5108ab8 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -100,8 +100,8 @@ func main() { loglevel := flag.String("loglevel", "info", "log level") open_sock5 := flag.Int("sock5", 0, "sock5 mode") maxconn := flag.Int("maxconn", 0, "max num of connections") - max_process_thread := flag.Int("maxprt", 0, "max process thread in server") - max_process_buffer := flag.Int("maxprb", 0, "max process thread's buffer in server") + max_process_thread := flag.Int("maxprt", 100, "max process thread in server") + max_process_buffer := flag.Int("maxprb", 1000, "max process thread's buffer in server") flag.Usage = func() { fmt.Printf(usage) }