Skip to content

Commit

Permalink
Slight increase namespace lookup timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesalvo committed Feb 9, 2025
1 parent 9ea006d commit 176d379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RDFSharp/Model/Registers/RDFNamespaceRegister.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ internal static RDFNamespace LookupPrefixCC(string data, int lookupMode)
string lookupString = lookupMode == 1 ? string.Concat("http://prefix.cc/", data, ".file.txt")
: string.Concat("http://prefix.cc/reverse?uri=", data, "&format=txt");

using (RDFWebClient webclient = new RDFWebClient(1000))
using (RDFWebClient webclient = new RDFWebClient(2000))
{
try
{
Expand Down
2 changes: 1 addition & 1 deletion RDFSharp/Query/RDFQueryUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public static List<T> RemoveDuplicates<T>(List<T> elements) where T : RDFPattern
internal class RDFWebClient : WebClient
{
#region Properties
private int TimeOut { get; }
private int TimeOut { get; set; }
#endregion

#region Ctors
Expand Down

0 comments on commit 176d379

Please sign in to comment.