[skip ci]Fix golint warning in tso (#9312)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/9318/head
Xiangyu Wang 2021-10-06 07:12:23 +08:00 committed by GitHub
parent 4722f5991b
commit d2f1184568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {