Skip to content

Commit

Permalink
Merge pull request #1320 from tacheometry/current-docs
Browse files Browse the repository at this point in the history
Add file deletion diagram
  • Loading branch information
eikek authored Feb 12, 2024
2 parents c06d164 + 19cc585 commit ac68ccc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/microsite/docs/diagrams/file-deletion-diagram.mermaid
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
flowchart LR
Create["Share is created"] --> Publish["Share is published"]
Publish -- Validity time passes --> Private["Share is made private"]
Publish -- Max views reached --> Private

Private2["Share is private"] -- Cleanup job runs --> Deleted["Files are deleted"]
1 change: 1 addition & 0 deletions modules/microsite/docs/diagrams/file-deletion-diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions modules/microsite/docs/doc/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,8 @@ information on how it works with other providers.

## Cleanup

<img src="../diagrams/file-deletion-diagram.svg" class="rounded screenshot">

Sharry has a periodic cleanup job that will delete 'invalid'
resources. This cleanup job runs in the backend and is triggered
by a timer every `interval` as defined in the `cleanup` block. It
Expand Down

0 comments on commit ac68ccc

Please sign in to comment.