Skip to content

Commit

Permalink
Update xhprof_runs.php
Browse files Browse the repository at this point in the history
updating all integer fields
  • Loading branch information
FraGoTe committed Nov 30, 2015
1 parent f7a6b80 commit fb77270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xhprof_lib/utils/xhprof_runs.php
Expand Up @@ -429,8 +429,8 @@ public function save_run($xhprof_data, $type, $run_id = null, $xhprof_details =


$sql['pmu'] = isset($xhprof_data['main()']['pmu']) ? $xhprof_data['main()']['pmu'] : 0;
$sql['wt'] = isset($xhprof_data['main()']['wt']) ? $xhprof_data['main()']['wt'] : '';
$sql['cpu'] = isset($xhprof_data['main()']['cpu']) ? $xhprof_data['main()']['cpu'] : '';
$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 fb77270

Please sign in to comment.