From ae4e7b4b97c778b71d44689da4ca5f5011da306e Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Wed, 19 Jun 2024 11:55:49 +0800 Subject: [PATCH] set lock_timeout while running migrations in github action too --- .github/workflows/run-tests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 88ea58232..572408202 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -77,6 +77,7 @@ jobs: PG_PASSWORD: postgres PG_DB: omnivore_test PGPASSWORD: postgres # This is required for the psql command to work without a password prompt + PG_EXTRA_OPTIONS: '-c lock_timeout=2000' - name: TypeScript Build and Lint run: | source ~/.nvm/nvm.sh