mirror of
https://github.com/sdr-enthusiasts/docker-planefence.git
synced 2025-12-22 11:17:06 +00:00
revert default expiration time to 7 days
This commit is contained in:
@@ -44,8 +44,7 @@ Once you have an account, please do the following:
|
||||

|
||||

|
||||
|
||||
Note -- if you post lots of traffic to Mastodon, please consider adding an Automatic Post Deletion time of 1 week.
|
||||
This will help manage storage costs for the operator of the Mastodon server!
|
||||
Note -- the `MASTODON_RETENTION_TIME` parameter in `planefence.config` determines the retention time (in days) of any Toots you send to Mastodon. This will help manage storage costs for the operator of the Mastodon server! Note - the default expiration time if the parameter is omitted, is `7` (days). If you want your Toots to never expire, please set the parameter value to `off` or `0`. However, please be cognizant that your Mastodon Server operator is probably paying for disk storage out of their own pocket - so please leave this retention time as short as you can afford.
|
||||
|
||||
## Configuring Planefence to use Mastodon
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ source /scripts/common
|
||||
ACCESS_TOKEN=$MASTODON_ACCESS_TOKEN
|
||||
INSTANCE_URL="https://$MASTODON_SERVER"
|
||||
|
||||
RETENTION_DAYS="${MASTODON_RETENTION_TIME:-14}"
|
||||
RETENTION_DAYS="${MASTODON_RETENTION_TIME:-7}"
|
||||
|
||||
delete_toot() {
|
||||
local toot_id="$1"
|
||||
|
||||
Reference in New Issue
Block a user