This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Increase DNS timeouts (
#10238
)
pull/4/head
ThibG
5 years ago
committed by
Eugen Rochko
parent
13a7f05030
commit
79b00d294d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/lib/request.rb
+ 1
- 1
app/lib/request.rb
View File
@ -171,7 +171,7 @@ class Request
outer_e
=
nil
Resolv
::
DNS
.
open
do
|
dns
|
dns
.
timeouts
=
1
dns
.
timeouts
=
5
addresses
=
dns
.
getaddresses
(
host
)
.
take
(
2
)
time_slot
=
10
.
0
/
addresses
.
size
Write
Preview
Loading…
Cancel
Save