ApiController - Update httpClient timeout
This commit is contained in:
parent
4bf3ddea5d
commit
f0a64d9034
|
@ -18,7 +18,7 @@ namespace AIParkingApplication
|
||||||
httpClient = new HttpClient
|
httpClient = new HttpClient
|
||||||
{
|
{
|
||||||
BaseAddress = new Uri(baseAddress),
|
BaseAddress = new Uri(baseAddress),
|
||||||
Timeout = TimeSpan.FromSeconds(1)
|
Timeout = TimeSpan.FromSeconds(5)
|
||||||
};
|
};
|
||||||
isHttpClientDisposabled = false;
|
isHttpClientDisposabled = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user