pvp随机地图
This commit is contained in:
+10
-1
@@ -14,7 +14,7 @@ import * as routeUtil from './app/util/routeUtil';
|
||||
import { preload } from './preload';
|
||||
var checkEventFilter = require('./app/servers/battle/filter/checkEventFilter');
|
||||
import { connectRedis } from './config/redis';
|
||||
|
||||
import * as timeTaskService from './app/services/timeTaskService';
|
||||
// TODO 需要整理。
|
||||
import _pinus = require('pinus');
|
||||
|
||||
@@ -102,6 +102,15 @@ app.configure('production|development|alpha|dev', 'gate', function () {
|
||||
});
|
||||
});
|
||||
|
||||
app.configure('production|development|alpha|dev', 'systimer', function () {
|
||||
app.set('connectorConfig',
|
||||
{
|
||||
connector: pinus.connectors.hybridconnector,
|
||||
useProtobuf: true
|
||||
});
|
||||
timeTaskService.init();
|
||||
});
|
||||
|
||||
|
||||
function errorHandler(err: Error, msg: any, resp: any,
|
||||
session: FrontendOrBackendSession, cb: HandlerCallback) {
|
||||
|
||||
Reference in New Issue
Block a user