Compare commits
No commits in common. "c8fca0445dd5264e619bdeebf85736fe26b67d41" and "502012f7f0c148f60f4d9b194f4317222c04c742" have entirely different histories.
c8fca0445d
...
502012f7f0
@ -5995,7 +5995,17 @@ public class SdmController extends LocaleController<AkunVO> {
|
||||
body.put("message", "ready");
|
||||
body.put("time", now);
|
||||
|
||||
return ResponseEntity.ok(body);
|
||||
long latency = System.currentTimeMillis() - startTime;
|
||||
|
||||
Map<String, Object> response = new LinkedHashMap<>();
|
||||
response.put("url", request.getRequestURL().toString());
|
||||
response.put("status_code", HttpStatus.OK.value());
|
||||
response.put("is_ok", true);
|
||||
response.put("latency_ms", latency);
|
||||
response.put("body", body);
|
||||
response.put("checked_at", now);
|
||||
|
||||
return ResponseEntity.ok(response);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user