Browse Source

Update setup.sh

Nate 8 years ago
parent
commit
ca3d8ed952
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frameworks/C/h2o/setup.sh

+ 2 - 2
frameworks/C/h2o/setup.sh

@@ -5,7 +5,7 @@ fw_depends postgresql h2o mustache-c yajl
 H2O_APP_HOME="${IROOT}/h2o_app"
 BUILD_DIR="${H2O_APP_HOME}_build"
 H2O_APP_PROFILE_PORT="54321"
-H2O_APP_PROFILE_URL="http://TFB-database:$H2O_APP_PROFILE_PORT"
+H2O_APP_PROFILE_URL="http://127.0.0.1:$H2O_APP_PROFILE_PORT"
 
 # A hacky way to detect whether we are running in the physical hardware or the cloud environment.
 if [[ $(nproc) -gt 16 ]]; then
@@ -36,7 +36,7 @@ run_curl()
 run_h2o_app()
 {
 	"$1/h2o_app" -a1 -f "$2/template/fortunes.mustache" -m "$DB_CONN" "$3" "$4" \
-		-d "host=$DBHOST dbname=hello_world user=benchmarkdbuser password=benchmarkdbpass" &
+		-d "host=TFB-database dbname=hello_world user=benchmarkdbuser password=benchmarkdbpass" &
 }
 
 generate_profile_data()