diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9069dde357a..cc4e69450c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,7 @@ jobs: TEST_DATABASE_URL: postgres://postgres:@localhost/cargo_registry_test CARGO_INCREMENTAL: 0 RUSTFLAGS: "-C debuginfo=0 -D warnings" + MALLOC_CONF: "background_thread:true,abort_conf:true,abort:true,junk:true" steps: - uses: actions/checkout@v2-beta diff --git a/.travis.yml b/.travis.yml index ea12b7cc85c..e2653f1438a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ env: - PGPORT=5433 - PATH=$HOME/.cargo/bin:$PATH - RUSTFLAGS="-C debuginfo=0 -D warnings" + - MALLOC_CONF=background_thread:true,abort_conf:true,abort:true,junk:true install: - sudo cp /etc/postgresql/10/main/pg_hba.conf /etc/postgresql/11/main/pg_hba.conf