feat 稳定300人
This commit is contained in:
@@ -33,7 +33,7 @@ func FindInstanceByUniqueNo(uniqueNO int64) (sid string) {
|
||||
}
|
||||
|
||||
// RegisterInstance 注册副本
|
||||
func RegisterInstance(sid int64, instanceID int, uniqueNo, ttl int64) error {
|
||||
func RegisterInstance(sid int64, instanceID int32, uniqueNo, ttl int64) error {
|
||||
serverMU.Lock()
|
||||
defer serverMU.Unlock()
|
||||
leaseID, err := common.NewLeaseAndKeepAlive(ttl)
|
||||
|
||||
Reference in New Issue
Block a user