瀏覽代碼

fix comments

yohei0125 3 年之前
父節點
當前提交
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> {
     const BATCH_SIZE = 200;