1
This commit is contained in:
parent
03aed77727
commit
334dd641e0
@ -432,6 +432,22 @@ std::shared_ptr<Room> RoomMgr::CreateRoom(RoomType_e room_type,
|
||||
room->GetMapModeMeta()->id()
|
||||
});
|
||||
#endif
|
||||
#if 1
|
||||
f8::Timer::Instance()->SetTimeout
|
||||
(
|
||||
1000 * 60 * 30,
|
||||
[room_uuid = room->GetRoomUuid()] (int event, const a8::Args* args)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
f8::UdpLog::Instance()->Debug
|
||||
("room timeout %s",
|
||||
{
|
||||
room_uuid
|
||||
});
|
||||
}
|
||||
}
|
||||
);
|
||||
#endif
|
||||
return room;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user