Use a fully random async_id rather than a uuid

This commit is contained in:
Kovid Goyal
2022-08-26 10:39:18 +05:30
parent 4a49c3940a
commit b1f9139ca5
3 changed files with 20 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ func create_rc_CMD_NAME(args []string) (*utils.RemoteControlCmd, error) {
NoResponse: NO_RESPONSE_BASE,
}
if IS_ASYNC {
async_id, err := utils.HumanUUID4()
async_id, err := utils.HumanRandomId(128)
if err != nil {
return nil, err
}