mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint warning in tso (#9312)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>pull/9318/head
parent
4722f5991b
commit
d2f1184568
|
@ -79,7 +79,7 @@ func (gta *GlobalTSOAllocator) Initialize() error {
|
|||
return gta.tso.InitTimestamp()
|
||||
}
|
||||
|
||||
// SetLimitMaxlogic is to enable or disable the maximum limit on the logical part of the hybrid timestamp.
|
||||
// SetLimitMaxLogic is to enable or disable the maximum limit on the logical part of the hybrid timestamp.
|
||||
// When enabled, if the logical part of the hybrid timestamp exceeds the maximum limit,
|
||||
// GlobalTSOAllocator will sleep for a period and try to allocate the timestamp again.
|
||||
func (gta *GlobalTSOAllocator) SetLimitMaxLogic(flag bool) {
|
||||
|
|
Loading…
Reference in New Issue