Skip to content

Commit

Permalink
Merge pull request xapi-project#67 from krizex/private/yangqi/CA-335725
Browse files Browse the repository at this point in the history
CA-335725: Update the tolerance of free memory difference
  • Loading branch information
robhoes authored Mar 4, 2020
2 parents 69fd3a9 + 4fcab1b commit 871e826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memory_server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ let calculate_boot_time_host_free_memory () =
Int64.mul 1024L boot_time_host_free_kib

let calc_constant_boot_time_host_free_memory constant_count_min interval =
let tolerance = 10L in
let tolerance = 1048576L in
debug "Check boot time host free memory: constant-count-min=%d check-interval=%f(seconds)" constant_count_min interval;
let rec calc_constant last constant_count =
let free_memory = calculate_boot_time_host_free_memory () in
Expand Down

0 comments on commit 871e826

Please sign in to comment.