Skip to content

Commit

Permalink
TiFlash: Enable and inactive prof when start (#2437)
Browse files Browse the repository at this point in the history
Signed-off-by: CalvinNeo <[email protected]>
  • Loading branch information
CalvinNeo authored Jul 12, 2024
1 parent 6d0814e commit bac3c2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embed/templates/scripts/run_tiflash.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export RUST_BACKTRACE=1

export TZ=${TZ:-/etc/localtime}
export LD_LIBRARY_PATH={{.DeployDir}}/bin/tiflash:$LD_LIBRARY_PATH
export MALLOC_CONF="prof:true,prof_active:false"

{{- if .RequiredCPUFlags }}
if [ -f "/proc/cpuinfo" ]; then
Expand Down

0 comments on commit bac3c2e

Please sign in to comment.