mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
log message
This commit is contained in:
parent
9dae4e9d3e
commit
6bc618051c
|
@ -229,7 +229,7 @@ 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 wait %d seconds until shutdown ...", *v.preStopSeconds)
|
||||
volumeServer.SendHeartbeat = false
|
||||
time.Sleep(time.Duration(*v.preStopSeconds) * time.Second)
|
||||
glog.V(0).Infof("end sleep %d sec", *v.preStopSeconds)
|
||||
|
|
Loading…
Reference in a new issue