yohei0125 4 лет назад
Родитель
Сommit
7a7af93913
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/app/src/server/crowi/index.js

+ 1 - 2
packages/app/src/server/crowi/index.js

@@ -7,7 +7,6 @@ import { createTerminus } from '@godaddy/terminus';
 import { initMongooseGlobalSettings, getMongoUri, mongoOptions } from '@growi/core';
 import { initMongooseGlobalSettings, getMongoUri, mongoOptions } from '@growi/core';
 import mongoose from 'mongoose';
 import mongoose from 'mongoose';
 
 
-
 import pkg from '^/package.json';
 import pkg from '^/package.json';
 
 
 import CdnResourcesService from '~/services/cdn-resources-service';
 import CdnResourcesService from '~/services/cdn-resources-service';
@@ -738,7 +737,7 @@ Crowi.prototype.cleanupPageOperation = async function() {
   const excludeList = [PageActionType.Rename]; // list of ActionType to avoid being cleaned up
   const excludeList = [PageActionType.Rename]; // list of ActionType to avoid being cleaned up
   await PageOperation.cleanup(excludeList);
   await PageOperation.cleanup(excludeList);
   await PageOperation.markAsFailure();
   await PageOperation.markAsFailure();
-  logger.info('PageOperation cleaned up');
+  logger.info('cleanupPageOperation has been finished');
 };
 };
 
 
 export default Crowi;
 export default Crowi;