Commit e063b439 authored by Peter Xin's avatar Peter Xin

Fix

parent 2f5b6dc5
......@@ -4,5 +4,6 @@ WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
EXPOSE 1025
CMD [ "npm", "start" ]
......@@ -252,7 +252,7 @@ let closedUser = function (res, pool) {
index = i;
// 若用户已在匹配池中,移除
if (index >= 0) {
console.log(res.username + " has closed the connection. Removed from the pool.");
localLog(res.username + " has closed the connection. Removed from the pool.");
pool.splice(index, 1);
}
// 若用户未在匹配池中,挂黑名单
......
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