public async Task <IActionResult> Patch( [FromBody] PatchJudgeNodeInfoModel model) { _logger.LogInformation("Heartbeat packet received from {0}", HttpContext.Connection.RemoteIpAddress); var performance = _mapper.Map <PatchJudgeNodeInfoModel, JudgeNodePerformanceInfo>(model); await _judgeNodeManager.UpdatePerformanceAsync(HttpContext.Connection.RemoteIpAddress, performance); return(Ok()); }