Skip to content

Commit

Permalink
Update FileUtilService.cs (#259)
Browse files Browse the repository at this point in the history
timeout increased to 4 minutes to allow m3u download instead of timeout error
  • Loading branch information
jackydec authored Oct 24, 2024
1 parent 84011f5 commit 7bee463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StreamMaster.Infrastructure/Services/FileUtilService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,10 @@ private void CreateHttpClient()
AllowAutoRedirect = true,
})
{
Timeout = TimeSpan.FromSeconds(30)
Timeout = TimeSpan.FromSeconds(240)
};
_httpClient.DefaultRequestHeaders.UserAgent.ParseAdd(settings.CurrentValue.ClientUserAgent);
_httpClient.DefaultRequestHeaders.ExpectContinue = true;
}
}
}
}

0 comments on commit 7bee463

Please sign in to comment.