Skip to content

Commit

Permalink
chore: restore.
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Dec 18, 2023
1 parent 3f832ce commit db5b459
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions msgtest/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ func InitWithFlag() {
flag.IntVar(&groupMsgSenderNum, "g", 100, "group msg sender num")
flag.IntVar(&msgSenderNumEvreyUser, "m", 100, "msg sender num evrey user")

isRegisterUser = *flag.Bool( "r", false, "register user to IM system")
onlineUsersOnly = *flag.Bool( "u", false, "consider only online users")

flag.BoolVar(&isRegisterUser, "r", false, "register user to IM system")
flag.BoolVar(&onlineUsersOnly, "u", false, "consider only online users")
}

func PrintQPS() {
Expand Down

0 comments on commit db5b459

Please sign in to comment.