mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix logs
This commit is contained in:
parent
4c1a3187bf
commit
9dae4e9d3e
|
@ -229,10 +229,10 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v
|
|||
var startTime time.Time
|
||||
|
||||
// Stop heartbeats
|
||||
glog.V(0).Infof("stop send heartbeat and sleep %d seconds ...", v.preStopSeconds)
|
||||
glog.V(0).Infof("stop send heartbeat and sleep %d seconds ...", *v.preStopSeconds)
|
||||
volumeServer.SendHeartbeat = false
|
||||
time.Sleep(time.Duration(*v.preStopSeconds) * time.Second)
|
||||
glog.V(0).Infof("end sleep %d sec", v.preStopSeconds)
|
||||
glog.V(0).Infof("end sleep %d sec", *v.preStopSeconds)
|
||||
// firstly, stop the public http service to prevent from receiving new user request
|
||||
if nil != publicHttpDown {
|
||||
startTime = time.Now()
|
||||
|
|
Loading…
Reference in a new issue