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