This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Shorter timeout on FetchAtomService
master
Eugen Rochko
7 years ago
parent
5aa3df017b
commit
33fac87e81
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/services/fetch_atom_service.rb
+ 1
- 1
app/services/fetch_atom_service.rb
View File
@ -47,6 +47,6 @@ class FetchAtomService < BaseService
end
def
http_client
HTTP
.
timeout
(
:per_operation
,
write
:
2
0
,
connect
:
2
0
,
read
:
5
0
)
.
follow
HTTP
.
timeout
(
:per_operation
,
write
:
1
0
,
connect
:
1
0
,
read
:
1
0
)
.
follow
end
end
Write
Preview
Loading…
Cancel
Save