Commit bfd54f21 authored by mercury233's avatar mercury233

disable clean rooms

parent 1f3acf10
...@@ -695,6 +695,7 @@ if settings.modules.http ...@@ -695,6 +695,7 @@ if settings.modules.http
console.log (new Date()) + " Peer " + connection.remoteAddress + " disconnected." console.log (new Date()) + " Peer " + connection.remoteAddress + " disconnected."
#清理90s没活动的房间 #清理90s没活动的房间
###
inotify = new Inotify() inotify = new Inotify()
inotify.addWatch inotify.addWatch
path: 'ygocore/replay', path: 'ygocore/replay',
...@@ -713,6 +714,7 @@ inotify.addWatch ...@@ -713,6 +714,7 @@ inotify.addWatch
else else
log.error "event without filename" log.error "event without filename"
### ###
###
setInterval ()-> setInterval ()->
for room in Room.all for room in Room.all
if room.alive if room.alive
......
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