This commit is contained in:
esrrhs 2019-11-01 20:54:55 +08:00
parent 5c0c08b7f3
commit d84320fffb

View File

@ -100,8 +100,8 @@ func main() {
loglevel := flag.String("loglevel", "info", "log level") loglevel := flag.String("loglevel", "info", "log level")
open_sock5 := flag.Int("sock5", 0, "sock5 mode") open_sock5 := flag.Int("sock5", 0, "sock5 mode")
maxconn := flag.Int("maxconn", 0, "max num of connections") maxconn := flag.Int("maxconn", 0, "max num of connections")
max_process_thread := flag.Int("maxprt", 0, "max process thread in server") max_process_thread := flag.Int("maxprt", 100, "max process thread in server")
max_process_buffer := flag.Int("maxprb", 0, "max process thread's buffer in server") max_process_buffer := flag.Int("maxprb", 1000, "max process thread's buffer in server")
flag.Usage = func() { flag.Usage = func() {
fmt.Printf(usage) fmt.Printf(usage)
} }