Better default parameters for suggestion
authorHakaba Hitoyo <hakabahitoyo@yahoo.co.jp>
Tue, 11 Jun 2019 11:34:22 +0000 (11:34 +0000)
committerlain <lain@soykaf.club>
Tue, 11 Jun 2019 11:34:22 +0000 (11:34 +0000)
config/config.exs
docs/config/howto_user_recomendation.md

index 0642ee3c36a3e357ae0d2166b7e0efb09aec7ced..b73541213bd06aefe0979b6797c8127b36649a70 100644 (file)
@@ -360,8 +360,8 @@ config :pleroma, :suggestions,
   third_party_engine:
     "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-suggestions-api.cgi?{{host}}+{{user}}",
   timeout: 300_000,
-  limit: 23,
-  web: "https://vinayaka.distsn.org/?{{host}}+{{user}}"
+  limit: 40,
+  web: "https://vinayaka.distsn.org"
 
 config :pleroma, :http_security,
   enabled: true,
index 27c0760dd10abb7f6eb752625460723248e0206d..c4d749d0c6f36480d8b46fcf2be3ac018806399f 100644 (file)
@@ -9,8 +9,8 @@ config :pleroma, :suggestions,
   third_party_engine:
     "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-suggestions-api.cgi?{{host}}+{{user}}",
   timeout: 300_000,
-  limit: 23,
-  web: "https://vinayaka.distsn.org/?{{host}}+{{user}}"
+  limit: 40,
+  web: "https://vinayaka.distsn.org"
 
 ```
 
@@ -26,6 +26,6 @@ config :pleroma, :suggestions,
   third_party_engine:
     "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-new-suggestions-api.cgi?{{host}}+{{user}}",
   timeout: 60_000,
-  limit: 23,
+  limit: 40,
   web: "https://vinayaka.distsn.org/user-new.html"
 ```