forked from cybrespace/mastodon
Shorter timeout on FetchAtomService
This commit is contained in:
parent
5aa3df017b
commit
33fac87e81
|
@ -47,6 +47,6 @@ class FetchAtomService < BaseService
|
||||||
end
|
end
|
||||||
|
|
||||||
def http_client
|
def http_client
|
||||||
HTTP.timeout(:per_operation, write: 20, connect: 20, read: 50).follow
|
HTTP.timeout(:per_operation, write: 10, connect: 10, read: 10).follow
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue