diff --git a/game-server/app.ts b/game-server/app.ts index 60e64cb6b..57e5e22f9 100644 --- a/game-server/app.ts +++ b/game-server/app.ts @@ -131,12 +131,6 @@ app.configure(ALL_ENVS, 'systimer', function () { }); }); -app.configure(ALL_ENVS, 'chat', function() { - app.afterStart(() => { - getTire(); - }) -}); - function errorHandler(err: Error, msg: any, resp: any, session: FrontendOrBackendSession, cb: HandlerCallback) { const errCode = genCode(10); diff --git a/game-server/app/servers/chat/remote/chatRemote.ts b/game-server/app/servers/chat/remote/chatRemote.ts index ce83a36cd..1d741d077 100644 --- a/game-server/app/servers/chat/remote/chatRemote.ts +++ b/game-server/app/servers/chat/remote/chatRemote.ts @@ -35,6 +35,7 @@ export class ChatRemote { constructor(private app: Application) { this.app = app; this.channelService = app.get('channelService'); + // getTire(); } private channelService: ChannelService;