mirror of https://github.com/milvus-io/milvus.git
parent
5e429b2a94
commit
a84bafd1fb
|
@ -42,11 +42,7 @@ type MessageClient struct {
|
|||
}
|
||||
|
||||
func (mc *MessageClient) GetTimeNow() uint64 {
|
||||
msg, ok := <-mc.timeSyncCfg.TimeSync()
|
||||
if !ok {
|
||||
fmt.Println("cnn't get data from timesync chan")
|
||||
}
|
||||
return msg.Timestamp
|
||||
return mc.timestampBatchEnd
|
||||
}
|
||||
|
||||
func (mc *MessageClient) TimeSyncStart() uint64 {
|
||||
|
|
Loading…
Reference in New Issue