Skip to content

Commit 582e1fa

Browse files
ci(github): improve perf of find postgresql.conf
1 parent 592b2a2 commit 582e1fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/postgres.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888

8989
- name: Alter max connections
9090
run: |
91-
POSTGRESQL_CONF=$(find / -name postgresql.conf)
91+
POSTGRESQL_CONF=$(sudo find /var/lib/postgresql -name postgresql.conf)
9292
docker exec -i postgres bash << EOF
9393
sed -i -e 's/max_connections = 100/max_connections = 1000/' $POSTGRESQL_CONF
9494
sed -i -e 's/shared_buffers = 128MB/shared_buffers = 2GB/' $POSTGRESQL_CONF

0 commit comments

Comments
 (0)