adjust param

This commit is contained in:
xtaci
2016-06-01 14:13:33 +08:00
parent 41358f41cc
commit 2df5992b4f
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -123,11 +123,11 @@ func main() {
switch c.String("mode") {
case "normal":
nodelay, interval, resend, nc = 0, 30, 2, 1
nodelay, interval, resend, nc = 0, 30, 0, 1
case "fast":
nodelay, interval, resend, nc = 0, 20, 2, 1
nodelay, interval, resend, nc = 0, 20, 0, 1
case "fast2":
nodelay, interval, resend, nc = 1, 20, 2, 1
nodelay, interval, resend, nc = 1, 20, 0, 1
case "fast3":
nodelay, interval, resend, nc = 1, 10, 2, 1
}
+3 -3
View File
@@ -139,11 +139,11 @@ func main() {
nodelay, interval, resend, nc := 0, 40, 0, 0
switch c.String("mode") {
case "normal":
nodelay, interval, resend, nc = 0, 30, 2, 1
nodelay, interval, resend, nc = 0, 30, 0, 1
case "fast":
nodelay, interval, resend, nc = 0, 20, 2, 1
nodelay, interval, resend, nc = 0, 20, 0, 1
case "fast2":
nodelay, interval, resend, nc = 1, 20, 2, 1
nodelay, interval, resend, nc = 1, 20, 0, 1
case "fast3":
nodelay, interval, resend, nc = 1, 10, 2, 1
}