Skip to content

Commit 89cdfba

Browse files
yash251azf20
andauthored
update Subgraph Studio archive policy (#684)
* add Timestamp scalar * update Subgraph Studio archive policy * fix style with prettier * fix requested changes * remove special case chains and removed ar change --------- Co-authored-by: azf20 <[email protected]>
1 parent 030ed60 commit 89cdfba

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

website/pages/en/deploying/deploying-a-subgraph-to-hosted.mdx

+6-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,12 @@ Developers will be notified by email if one of their subgraphs has been marked a
284284

285285
## Subgraph Studio subgraph archive policy
286286

287-
When a new version of a subgraph is deployed, the previous version is archived (deleted from the graph-node DB). This only happens if the previous version is not published to The Graph's decentralized network.
287+
A subgraph version in Studio is archived if and only if it meets the following criteria:
288288

289-
When a subgraph version isn’t queried for over 45 days, that version is archived.
289+
- The version is not published to the network (or pending publish)
290+
- The version was created 45 or more days ago
291+
- The subgraph hasn't been queried in 30 days
292+
293+
In addition, when a new version is deployed, if the subgraph has not been published, then the N-2 version of the subgraph is archived.
290294

291295
Every subgraph affected with this policy has an option to bring the version in question back.

0 commit comments

Comments
 (0)