Skip to content

Commit

Permalink
docs: update documents for stop serving service (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing authored May 25, 2023
1 parent f7d6a20 commit a033cf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/guide/storage-provider/run-book/run-testnet-SP-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cd greenfield-storage-provider/build

```toml
# start service list
Service = ["gateway", "uploader", "downloader", "challenge", "tasknode", "receiver", "signer", "blocksyncer", "metadata", "manager"]
Service = ["gateway", "uploader", "downloader", "challenge", "tasknode", "receiver", "signer", "blocksyncer", "metadata", "manager", "stopserving"]
# sp operator address
SpOperatorAddress = ""
# service endpoint for other to connect
Expand Down Expand Up @@ -168,7 +168,7 @@ Enable = false
R = 100
B = 1000
# stop serving configuration
[StopServingCfg]
[DiscontinueCfg]
BucketKeepAliveDays = 7
# metadata configuration
[MetadataCfg]
Expand Down
2 changes: 1 addition & 1 deletion src/guide/storage-provider/services/stopserving.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Stop Serving is running in background periodically. The main workflows are as fo

* Then it sends discontinue bucket transactions to the Greenfield chain, and the blockchain will emit discontinue bucket events;

* After a set amount of time, the discontinued buckets are deleted on the chain, and delete object and delete bucket events are emitted;
* After a set amount of time (7 days on testnet), the discontinued buckets are deleted on the chain, and delete object and delete bucket events are emitted;

* Finally, the GC service recycles the storage space of the deleted objects and buckets.

Expand Down

0 comments on commit a033cf6

Please sign in to comment.