Skip to content

Commit

Permalink
increase num open connections in ghwf
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Jan 23, 2024
1 parent 290ec33 commit 959ce26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
- name: Increase max_connections in PostgreSQL
run: |
PG_CONFIG_FILE=$(psql -h 127.0.0.1 -p 5432 -U postgres -c "SHOW config_file;" -tA)
echo "Config file: $PG_CONFIG_FILE"
sudo sed -i "s/^#max_connections = 100/max_connections = 200/" $PG_CONFIG_FILE
sudo systemctl reload postgresql
env:
Expand Down

0 comments on commit 959ce26

Please sign in to comment.