diff options
| author | Chris Lu <chris.lu@gmail.com> | 2017-01-10 01:30:00 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2017-01-10 01:30:00 -0800 |
| commit | e767c3ea4fd04a9cb01ec6698b4582663bd98bb6 (patch) | |
| tree | bf92ed8bc20941bea0f0fef051b40844f86f82c3 /weed/command/server.go | |
| parent | e46c3415f752e2e0c252c420adb882c4bcb7416b (diff) | |
| download | seaweedfs-e767c3ea4fd04a9cb01ec6698b4582663bd98bb6.tar.xz seaweedfs-e767c3ea4fd04a9cb01ec6698b4582663bd98bb6.zip | |
disable master connection timeout
temporarily disable master connection timeout due to heartbeat
connection timeout
Diffstat (limited to 'weed/command/server.go')
| -rw-r--r-- | weed/command/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index 5bde22517..b4b98ba1e 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -215,7 +215,7 @@ func runServer(cmd *Command, args []string) bool { ) glog.V(0).Infoln("Start Seaweed Master", util.VERSION, "at", *serverIp+":"+strconv.Itoa(*masterPort)) - masterListener, e := util.NewListener(*serverBindIp+":"+strconv.Itoa(*masterPort), time.Duration(*serverTimeout)*time.Second) + masterListener, e := util.NewListener(*serverBindIp+":"+strconv.Itoa(*masterPort), 0) if e != nil { glog.Fatalf("Master startup error: %v", e) } |
