Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file deletion diagram #1319

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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