mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
[skip ci]Fix golint warning in tso (#9312)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
This commit is contained in:
parent
4722f5991b
commit
d2f1184568
@ -79,7 +79,7 @@ func (gta *GlobalTSOAllocator) Initialize() error {
|
|||||||
return gta.tso.InitTimestamp()
|
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,
|
// 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.
|
// GlobalTSOAllocator will sleep for a period and try to allocate the timestamp again.
|
||||||
func (gta *GlobalTSOAllocator) SetLimitMaxLogic(flag bool) {
|
func (gta *GlobalTSOAllocator) SetLimitMaxLogic(flag bool) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user