File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
website/src/pages/zh/subgraphs/best-practices Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments