Skip to content
Permalink
Browse files

Merge remote-tracking branch 'remotes/origin/MP1-4967_Increase_AsyncD…

…NSReverseLookup' into MP1.23_Pre_Release_test7
  • Loading branch information...
Azzuro committed Jun 26, 2019
2 parents 9416880 + 9af5df1 commit eec6c73f5253bda9e22a5c3f8f5d283cc345b30c
Showing with 2 additions and 2 deletions.
  1. +2 −2 mediaportal/Core/Util/UNCTools.cs
@@ -514,12 +514,12 @@ private static IPAddress AsyncDNSReverseLookup(string strHost_or_IP)
{
//we have no IP address -> make an async dns reverse lookup

//Start async dns reverse lookup
//Start async dns reverse lookup - MP1-4967 TimeOut increased to 1500ms
try
{
var t1 = Task.Factory.StartNew(_ => DnsReverseLookup(strHost_or_IP),
TaskCreationOptions.AttachedToParent)
.TimeoutAfter(1000)
.TimeoutAfter(1500)
.ContinueWith(antecedent =>
{
if (!(antecedent.IsCanceled || antecedent.IsFaulted))

0 comments on commit eec6c73

Please sign in to comment.
You can’t perform that action at this time.