mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 10:39:17 +00:00
fix oembed test
This commit is contained in:
parent
840c70c4fa
commit
a360836ce3
|
@ -192,8 +192,7 @@
|
||||||
pool_size: 10,
|
pool_size: 10,
|
||||||
adapter: [],
|
adapter: [],
|
||||||
# see: https://hexdocs.pm/finch/Finch.html#start_link/1
|
# see: https://hexdocs.pm/finch/Finch.html#start_link/1
|
||||||
pool_max_idle_time: :timer.seconds(30),
|
pool_max_idle_time: :timer.seconds(30)
|
||||||
conn_max_idle_time: :timer.seconds(15)
|
|
||||||
|
|
||||||
config :pleroma, :instance,
|
config :pleroma, :instance,
|
||||||
name: "Akkoma",
|
name: "Akkoma",
|
||||||
|
|
|
@ -264,7 +264,7 @@ def limiters_setup do
|
||||||
defp http_children do
|
defp http_children do
|
||||||
proxy_url = Config.get([:http, :proxy_url])
|
proxy_url = Config.get([:http, :proxy_url])
|
||||||
proxy = Pleroma.HTTP.AdapterHelper.format_proxy(proxy_url)
|
proxy = Pleroma.HTTP.AdapterHelper.format_proxy(proxy_url)
|
||||||
pool_size = Config.get([:http, :pool_size])
|
pool_size = Config.get([:http, :pool_size], 10)
|
||||||
pool_timeout = Config.get([:http, :pool_timeout], 60_000)
|
pool_timeout = Config.get([:http, :pool_timeout], 60_000)
|
||||||
connection_timeout = Config.get([:http, :conn_max_idle_time], 10_000)
|
connection_timeout = Config.get([:http, :conn_max_idle_time], 10_000)
|
||||||
|
|
||||||
|
|
2
test/fixtures/rich_media/oembed.html
vendored
2
test/fixtures/rich_media/oembed.html
vendored
|
@ -1,3 +1,3 @@
|
||||||
<link rel="alternate" type="application/json+oembed"
|
<link rel="alternate" type="application/json+oembed"
|
||||||
href="http://example.com/oembed.json"
|
href="https://example.com/oembed.json"
|
||||||
title="Bacon Lollys oEmbed Profile" />
|
title="Bacon Lollys oEmbed Profile" />
|
||||||
|
|
Loading…
Reference in a new issue