Skip to content

Commit 73cf172

Browse files
committed
New translations pruning.mdx (Chinese Simplified)
1 parent a8fcda2 commit 73cf172

File tree

1 file changed

+1
-1
lines changed
  • website/src/pages/zh/subgraphs/best-practices

1 file changed

+1
-1
lines changed

website/src/pages/zh/subgraphs/best-practices/pruning.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dataSources:
3333
3434
## 重要注意事项
3535
36-
- 如果同样需要[Time Travel Queries](/subgraphs/querying/graphql-api/#time-travel-queries) 和修剪,则必须准确执行修剪以保留Time Travel Query。因此,通常不建议在Time Travel Queries中使用`indexerHints: prune:auto`。相反,修剪`使用`indexerHints: prune: <Number of blocks to retain>`:修剪:精确修剪到保留Time Travel Queries所需历史数据的块高度,或使用`prune: never\`维护所有数据。
36+
- 如果同样需要[Time Travel Queries](/subgraphs/querying/graphql-api/#time-travel-queries) 和修剪,则必须准确执行修剪以保留Time Travel Query。因此,通常不建议在Time Travel Queries中使用`indexerHints: prune:auto`。相反,修剪使用`indexerHints: prune: <Number of blocks to retain>`:修剪:精确修剪到保留Time Travel Queries所需历史数据的块高度,或使用`prune: never`维护所有数据。
3737

3838
- 在修剪过的块高度进行[嫁接](/subgraphs/cookbook/grafting/)是不可能的。如果嫁接是常规操作,需要修剪,建议使用`indexerHints: prune: <Number of blocks to retain>`,这将准确地保留一定数量的块(例如足够六个月)。
3939

0 commit comments

Comments
 (0)