1
0
Fork 0
forked from fedi/mastodon

Shorter timeout on FetchAtomService

This commit is contained in:
Eugen Rochko 2017-03-22 17:41:52 +01:00
parent 5aa3df017b
commit 33fac87e81

View file

@ -47,6 +47,6 @@ class FetchAtomService < BaseService
end
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