Skip to content

Commit

Permalink
Reduce niceness of the wasmedge command
Browse files Browse the repository at this point in the history
  • Loading branch information
juntao authored Apr 3, 2024
1 parent 4cb3e9c commit e05731f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ printf " Run the following command to start the LlamaEdge API Server:\n\n"
printf " %s\n\n" "$cmd"

# eval $cmd

nohup $cmd > $log_dir/start-llamaedge.log 2>&1 &
nohup nice -n -20 $cmd > $log_dir/start-llamaedge.log 2>&1 &
sleep 2
llamaedge_pid=$!
echo $llamaedge_pid > $gaianet_base_dir/llamaedge.pid
Expand Down

0 comments on commit e05731f

Please sign in to comment.