Skip to content

Commit

Permalink
Addressing further PR review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Andrii Sultanov <andrii.sultanov@cloud.com>
  • Loading branch information
last-genius committed Jul 2, 2024
1 parent 1003d6d commit 3ac45d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ocaml/xapi/db_gc.ml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,8 @@ let check_host_liveness ~__context =
with_lock host_table_m (fun () ->
Option.value
(Hashtbl.find_opt host_heartbeat_table host)
~default:0.0
~default:Clock.Date.(epoch |> to_unix_time)
)
(* never *)
in
let old_heartbeat_time =
if
Expand Down
3 changes: 2 additions & 1 deletion ocaml/xcp-rrdd/bin/rrdd/rrdd_monitor.ml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ let update_rrds timestamp dss uuid_domids paused_vms =
Hashtbl.replace vm_rrds vm_uuid {rrd; dss; domid}
)
| None ->
log_backtrace ()
info "%s: VM uuid=%s is not resident in this host, ignoring rrds"
__FUNCTION__ vm_uuid
in
let process_sr sr_uuid dss =
let named_updates =
Expand Down

0 comments on commit 3ac45d4

Please sign in to comment.