1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 23:09:12 +09:00

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