aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@yahoo.co.jp>2019-06-11 11:34:22 +0000
committerlain <lain@soykaf.club>2019-06-11 11:34:22 +0000
commit5d5a9a3a35cb06c7cbd9c29fdbf7cc0b866785fa (patch)
treeec6370d59518081df513167d5c5b9c7ec7ea0acc
parent63ab3c30ebb33241074cb252c449cd7879b77870 (diff)
downloadpleroma-5d5a9a3a35cb06c7cbd9c29fdbf7cc0b866785fa.tar.gz
Better default parameters for suggestion
-rw-r--r--config/config.exs4
-rw-r--r--docs/config/howto_user_recomendation.md6
2 files changed, 5 insertions, 5 deletions
diff --git a/config/config.exs b/config/config.exs
index 0642ee3c3..b73541213 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -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,
diff --git a/docs/config/howto_user_recomendation.md b/docs/config/howto_user_recomendation.md
index 27c0760dd..c4d749d0c 100644
--- a/docs/config/howto_user_recomendation.md
+++ b/docs/config/howto_user_recomendation.md
@@ -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"
```