Skip to content

Commit

Permalink
Merge pull request #93 from FraGoTe/patch-1
Browse files Browse the repository at this point in the history
Update xhprof_runs.php
  • Loading branch information
preinheimer committed Jun 16, 2016
2 parents 560bca7 + fb77270 commit 6abb0b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xhprof_lib/utils/xhprof_runs.php
Expand Up @@ -428,9 +428,9 @@ public function save_run($xhprof_data, $type, $run_id = null, $xhprof_details =
}


$sql['pmu'] = isset($xhprof_data['main()']['pmu']) ? $xhprof_data['main()']['pmu'] : '';
$sql['wt'] = isset($xhprof_data['main()']['wt']) ? $xhprof_data['main()']['wt'] : '';
$sql['cpu'] = isset($xhprof_data['main()']['cpu']) ? $xhprof_data['main()']['cpu'] : '';
$sql['pmu'] = isset($xhprof_data['main()']['pmu']) ? $xhprof_data['main()']['pmu'] : 0;
$sql['wt'] = isset($xhprof_data['main()']['wt']) ? $xhprof_data['main()']['wt'] : 0;
$sql['cpu'] = isset($xhprof_data['main()']['cpu']) ? $xhprof_data['main()']['cpu'] : 0;


// The value of 2 seems to be light enugh that we're not killing the server, but still gives us lots of breathing room on
Expand Down

0 comments on commit 6abb0b0

Please sign in to comment.