summaryrefslogtreecommitdiff
path: root/example/config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'example/config.yaml')
-rw-r--r--example/config.yaml27
1 files changed, 17 insertions, 10 deletions
diff --git a/example/config.yaml b/example/config.yaml
index 823a126b3..a56f4d35e 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -231,8 +231,8 @@ db-sqlite-cache-size: "8MiB"
# If set to empty string or zero, the sqlite default will be used.
# See: https://www.sqlite.org/pragma.html#pragma_busy_timeout
# Examples: ["0s", "1s", "30s", "1m", "5m"]
-# Default: "5s"
-db-sqlite-busy-timeout: "5m"
+# Default: "30m"
+db-sqlite-busy-timeout: "30m"
cache:
# Cache configuration options:
@@ -246,7 +246,7 @@ cache:
#### VISIBILITY CACHES ######
#############################
#
- # Configure Status and account
+ # Configure Status and account
# visibility cache.
visibility-max-size: 2000
@@ -265,7 +265,7 @@ cache:
account-ttl: "30m"
account-sweep-freq: "1m"
- block-max-size: 100
+ block-max-size: 1000
block-ttl: "30m"
block-sweep-freq: "1m"
@@ -289,6 +289,10 @@ cache:
follow-request-ttl: "30m"
follow-request-sweep-freq: "1m"
+ instance-max-size: 2000
+ instance-ttl: "30m"
+ instance-sweep-freq: "1m"
+
list-max-size: 2000
list-ttl: "30m"
list-sweep-freq: "1m"
@@ -331,7 +335,7 @@ cache:
webfinger-max-size: 250
webfinger-ttl: "24h"
- webfinger-sweep-freq: "1m"
+ webfinger-sweep-freq: "15m"
######################
##### WEB CONFIG #####
@@ -490,7 +494,7 @@ media-emoji-local-max-size: 51200
# This strikes a good balance between decent interoperability with instances that have
# higher emoji size limits, and not taking up too much space in storage.
# Examples: [51200, 102400]
-# Default: 51200
+# Default: 102400
media-emoji-remote-max-size: 102400
##########################
@@ -515,7 +519,7 @@ storage-local-base-path: "/gotosocial/storage"
# String. API endpoint of the S3 compatible service.
# Only required when running with the s3 storage backend.
# Examples: ["minio:9000", "s3.nl-ams.scw.cloud", "s3.us-west-002.backblazeb2.com"]
-# GoToSocial uses "DNS-style" when accessing buckets.
+# GoToSocial uses "DNS-style" when accessing buckets.
# If you are using Scaleways object storage, please remove the "bucket name" from the endpoint address
# Default: ""
storage-s3-endpoint: ""
@@ -524,6 +528,7 @@ storage-s3-endpoint: ""
#
# Default: false
storage-s3-proxy: false
+
# Bool. Use SSL for S3 connections.
#
# Only set this to 'false' when testing locally.
@@ -537,12 +542,14 @@ storage-s3-use-ssl: true
# Examples: ["AKIAJSIE27KKMHXI3BJQ","miniouser"]
# Default: ""
storage-s3-access-key: ""
+
# String. Secret key part of the S3 credentials.
# Consider setting this value using environment variables to avoid leaking it via the config file
# Only required when running with the s3 storage backend.
# Examples: ["5bEYu26084qjSFyclM/f2pz4gviSfoOg+mFwBH39","miniopassword"]
# Default: ""
storage-s3-secret-key: ""
+
# String. Name of the storage bucket.
#
# If you have already encoded your bucket name in the storage-s3-endpoint, this
@@ -632,7 +639,7 @@ letsencrypt-email-address: ""
##### MANUAL TLS CONFIG #####
##############################
-# String. Path to a PEM-encoded file on disk that includes the certificate chain
+# String. Path to a PEM-encoded file on disk that includes the certificate chain
# and the public key
# Examples: ["/gotosocial/storage/certs/chain.pem"]
# Default: ""
@@ -775,7 +782,7 @@ syslog-enabled: false
# String. Protocol to use when directing logs to syslog. Leave empty to connect to local syslog.
# Options: ["udp", "tcp", ""]
-# Default: "tcp"
+# Default: "udp"
syslog-protocol: "udp"
# String. Address:port to send syslog logs to. Leave empty to connect to local syslog.
@@ -939,7 +946,7 @@ advanced-throttling-multiplier: 8
# Minimum resolution is 1 second.
#
# Examples: [30s, 10s, 5s, 1m]
-# Default: 30s
+# Default: "30s"
advanced-throttling-retry-after: "30s"
# Int. CPU multiplier for the amount of goroutines to spawn in order to send messages via ActivityPub.