系统:停服维护逻辑
This commit is contained in:
+2
-2
@@ -16,7 +16,7 @@ import * as redisService from './app/services/redisService';
|
||||
import './app/servers/user.rpc.define'
|
||||
import * as routeUtil from './app/util/routeUtil';
|
||||
import { preload } from './preload';
|
||||
var checkEventFilter = require('./app/servers/battle/filter/checkEventFilter');
|
||||
var globalFilter = require('./app/servers/connector/filter/global');
|
||||
import { connectRedis } from './config/redis';
|
||||
import * as timeTaskService from './app/services/timeTaskService';
|
||||
import * as redlockCacheService from './app/services/redlockCacheService';
|
||||
@@ -198,7 +198,7 @@ app.configure(ALL_ENVS, function () {
|
||||
app.filter(new pinus.filters.time());
|
||||
app.filter(new pinus.filters.timeout());
|
||||
|
||||
app.filter(checkEventFilter(app));
|
||||
app.filter(globalFilter(app));
|
||||
|
||||
// RPC 启用TCP协议
|
||||
app.set('proxyConfig', {
|
||||
|
||||
Reference in New Issue
Block a user