ShareInternally: Make stale short link expiry optional (#88137)

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
Igor
2024-10-16 11:36:54 +03:00
committed by GitHub
co-authored by Christopher Moyer Isabel Matwawana Irene Rodriguez Jack Baldry
parent 7fba9ba522
commit 0a255ac5fb
3 changed files with 11 additions and 3 deletions
@@ -1872,7 +1872,11 @@ Configures settings around the short link feature.
### expire_time
Short links which are never accessed are considered expired or stale, and will be deleted as cleanup. Set the expiration time in days. Default is `7` days. Maximum is `365` days, and setting above the maximum will have `365` set instead. Setting `0` means the short links will be cleaned up approximately every 10 minutes.
Short links that are never accessed are considered expired or stale and will be deleted as cleanup. Set the expiration time in days. The default is `7` days. The maximum is `365` days, and setting above the maximum will have `365` set instead. Setting `0` means the short links will be cleaned up approximately every 10 minutes. A negative value such as `-1` will disable expiry.
{{< admonition type="caution" >}}
Short links without an expiration increase the size of the database and can’t be deleted.
{{< /admonition >}}
<hr>