yohei0125 3 лет назад
Родитель
Сommit
3bb0b2ceb6
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/app/src/server/service/page.ts

+ 1 - 2
packages/app/src/server/service/page.ts

@@ -3066,8 +3066,7 @@ class PageService {
   }
   }
 
 
   /**
   /**
-   * Update descendantCount of pages that has a path matching one of the given paths.
-   * It is processed sequentially from longer path to shorter path.
+   * pdate descendantCount of the pages sequentially from path containing more `/` to path containing less
    */
    */
   async updateDescendantCountOfPagesWithPaths(paths: string[]): Promise<void> {
   async updateDescendantCountOfPagesWithPaths(paths: string[]): Promise<void> {
     const BATCH_SIZE = 200;
     const BATCH_SIZE = 200;