update
This commit is contained in:
@ -187,7 +187,7 @@ func (m *MonfloManagement) genId(client *ClientInfo) {
|
|||||||
if !m.checkIdExist(strconv.FormatInt(id, 10)) {
|
if !m.checkIdExist(strconv.FormatInt(id, 10)) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
id = 10000000009 + 8*rand.Int63n(10000)
|
id = 10000000009 + 8*rand.Int63n(5)
|
||||||
}
|
}
|
||||||
client.StreamId = strconv.FormatInt(id, 10)
|
client.StreamId = strconv.FormatInt(id, 10)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user