]> Untitled Git - lemmy.git/blobdiff - config/defaults.hjson
Add default post listing type (fixes #2195) (#2209)
[lemmy.git] / config / defaults.hjson
index 663aa4b57e9eeee00799261b661c9633e4a24522..681e60966fafc6722b12ffa4c24150626dcea061 100644 (file)
     comment: 6
     # Interval length for comment limit, in seconds
     comment_per_second: 600
+    search: 6
+    # Interval length for search limit, in seconds
+    search_per_second: 600
   }
   # Settings related to activitypub federation
   federation: {
     # Whether to enable activitypub federation.
     enabled: false
     # Allows and blocks are described here:
-    # https://join-lemmy.org/docs/en/federation/administration.html///instance-allowlist-and-blocklist
+    # https://join-lemmy.org/docs/en/administration/federation_getting_started.html
     # 
     # list of instances with which federation is allowed
     allowed_instances: [
     # use allowlist only for remote communities, and posts/comments in local communities
     # (meaning remote communities will show content from arbitrary instances).
     strict_allowlist: true
+    # Number of workers for sending outgoing activities. Search logs for Activity queue stats to
+    # see information. If running number is consistently close to the worker_count, you should
+    # increase it.
+    worker_count: 64
   }
   captcha: {
     # Whether captcha is required for signup
@@ -76,8 +83,8 @@
     smtp_password: "string"
     # Address to send emails from, eg noreply@your-instance.com
     smtp_from_address: "noreply@example.com"
-    # Whether or not smtp connections should use tls
-    use_tls: true
+    # Whether or not smtp connections should use tls. Can be none, tls, or starttls
+    tls_type: "none"
   }
   # Parameters for automatic configuration of new instance (only used at first start)
   setup: {
     require_application: true
     application_question: "string"
     private_instance: true
+    default_theme: "string"
+    default_post_listing_type: "string"
   }
   # the domain name of your instance (mandatory)
   hostname: "unset"
   actor_name_max_length: 20
   # Maximum number of HTTP requests allowed to handle a single incoming activity (or a single object fetch through the search).
   http_fetch_retry_limit: 25
-  opentelemetry_url: "http://localhost:4317"
 }