From 19cc58532c948e19f83f9606dab4ac8e8f11ccef Mon Sep 17 00:00:00 2001
From: tacheometry <39647014+tacheometry@users.noreply.github.com>
Date: Mon, 12 Feb 2024 01:25:09 +0200
Subject: [PATCH] Add file deletion diagram
---
.../microsite/docs/diagrams/file-deletion-diagram.mermaid | 6 ++++++
modules/microsite/docs/diagrams/file-deletion-diagram.svg | 1 +
modules/microsite/docs/doc/configure.md | 2 ++
3 files changed, 9 insertions(+)
create mode 100644 modules/microsite/docs/diagrams/file-deletion-diagram.mermaid
create mode 100644 modules/microsite/docs/diagrams/file-deletion-diagram.svg
diff --git a/modules/microsite/docs/diagrams/file-deletion-diagram.mermaid b/modules/microsite/docs/diagrams/file-deletion-diagram.mermaid
new file mode 100644
index 00000000..04e9620e
--- /dev/null
+++ b/modules/microsite/docs/diagrams/file-deletion-diagram.mermaid
@@ -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"]
diff --git a/modules/microsite/docs/diagrams/file-deletion-diagram.svg b/modules/microsite/docs/diagrams/file-deletion-diagram.svg
new file mode 100644
index 00000000..e7dda447
--- /dev/null
+++ b/modules/microsite/docs/diagrams/file-deletion-diagram.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/modules/microsite/docs/doc/configure.md b/modules/microsite/docs/doc/configure.md
index 6b63344d..c7a028fd 100644
--- a/modules/microsite/docs/doc/configure.md
+++ b/modules/microsite/docs/doc/configure.md
@@ -553,6 +553,8 @@ information on how it works with other providers.
## Cleanup
+
+
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