后台:内存快照
This commit is contained in:
@@ -5,6 +5,7 @@ import { setWeek } from '../../../pubUtils/timeUtil';
|
||||
import { sendUngotDividend } from '../../../services/auctionService';
|
||||
import { errlogger } from '../../../util/logger';
|
||||
import { GUILD_ACTIVITY_TYPE } from '../../../consts';
|
||||
import { saveGuildActivityIndexMemory } from '../../../services/log/memoryLogService';
|
||||
|
||||
export default function (app: Application) {
|
||||
new HandlerService(app, {});
|
||||
@@ -213,4 +214,12 @@ export class GuildActivityRemote {
|
||||
errlogger.error(`remote ${__filename} \n ${e.stack}`);
|
||||
}
|
||||
}
|
||||
|
||||
public saveGuildActivityIndexMemory() {
|
||||
try {
|
||||
return saveGuildActivityIndexMemory();
|
||||
} catch(e) {
|
||||
errlogger.error(`remote ${__filename} \n ${e.stack}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user