[성현모] HubX DB구조, 쿼리 개선

This commit is contained in:
SHM
2025-04-24 08:56:44 +09:00
parent 7a69ea7ea2
commit 0a6016bc95
8 changed files with 21 additions and 26 deletions

View File

@ -21,16 +21,16 @@ namespace SystemX.Core.Communication
using (HttpClient httpClient = new HttpClient(GetClientHandler()))
{
var timeOutSec = SetTimeout(timeOutSeconds);
httpClient.Timeout = new TimeSpan(0, 0, timeOutSec);
httpClient.BaseAddress = new Uri($"{url}");
int retry = 0;
while (true)
{
await Task.Delay(1);
try
{
var timeOutSec = SetTimeout(timeOutSeconds);
httpClient.Timeout = new TimeSpan(0, 0, timeOutSec);
httpClient.BaseAddress = new Uri($"{url}");
Log4net.WriteLine($"[POST] Request({guid})::{url}{Environment.NewLine}{request?.ToJson()}", LogType.HTTP);
DateTime requestTime = DateTime.Now;