Skip to content

Commit

Permalink
update Subgraph Studio archive policy (#684)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
yash251 and azf20 authored May 29, 2024
1 parent 030ed60 commit 89cdfba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions website/pages/en/deploying/deploying-a-subgraph-to-hosted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,12 @@ Developers will be notified by email if one of their subgraphs has been marked a

## Subgraph Studio subgraph archive policy

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.
A subgraph version in Studio is archived if and only if it meets the following criteria:

When a subgraph version isn’t queried for over 45 days, that version is archived.
- The version is not published to the network (or pending publish)
- The version was created 45 or more days ago
- The subgraph hasn't been queried in 30 days

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.

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

0 comments on commit 89cdfba

Please sign in to comment.