Commit 9b31756b authored by hujiebin's avatar hujiebin

SendFruitMachineToUser延长到5秒

parent 28d36fb7
......@@ -41,7 +41,7 @@ func SendFruitMachineToUser(date string, round uint32, userIds []uint64) error {
Round: round,
}
if buffer, err := proto.Marshal(msg); err == nil {
rspUids, err := multicast(userIds, MsgFruitMachine, buffer)
rspUids, err := multicast(userIds, MsgFruitMachine, buffer, time.Duration(5))
//记录socket,注意闭包问题
go func(userId uint64, msg *userProxy.FruitMachine, rspUids []uint64, err error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment