From 923c0d2975589e0976e2b4827a3e16b017192761 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Mon, 4 Sep 2023 13:27:22 +1000 Subject: [PATCH] chore: update db-start --- script/docker/db-start.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/docker/db-start.sh b/script/docker/db-start.sh index 6fac4e7e4..3c2269d50 100755 --- a/script/docker/db-start.sh +++ b/script/docker/db-start.sh @@ -1,7 +1,11 @@ #!/bin/bash +# Add these arguments to deliberately slow down the database when working on performance issues +# +# --cpu-period=100000 --cpu-quota=50000 \ +# docker run --name pact-broker-postgres \ -e POSTGRES_PASSWORD=postgres \ -p 5432:5432 \ -v $PWD:/data \ - -d postgres:12 + -d postgres:14