yohei0125 hace 3 años
padre
commit
3bb0b2ceb6
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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;