Skip to content

Commit c93d617

Browse files
committedMar 25, 2024·
chore: increase max connections
1 parent 6032de1 commit c93d617

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎.github/workflows/feature.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
image: postgres
4747
options: >-
4848
--health-cmd pg_isready
49-
--health-interval 10s
49+
--health-interval 5s
5050
--health-timeout 5s
5151
--health-retries 5
5252
--name my_postgres_container
@@ -64,7 +64,7 @@ jobs:
6464
sed -i -e 's/shared_buffers = 128MB/shared_buffers = 2GB/' /var/lib/postgresql/data/postgresql.conf
6565
EOF
6666
- run: docker restart --time 0 my_postgres_container
67-
- run: sleep 5
67+
- run: sleep 10
6868
- run: docker exec my_postgres_container psql -c 'SHOW max_connections;'
6969
- name: setup repository
7070
uses: actions/checkout@v4

‎.github/workflows/main.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
image: postgres
5353
options: >-
5454
--health-cmd pg_isready
55-
--health-interval 10s
55+
--health-interval 5s
5656
--health-timeout 5s
5757
--health-retries 5
5858
--name my_postgres_container
@@ -70,7 +70,7 @@ jobs:
7070
sed -i -e 's/shared_buffers = 128MB/shared_buffers = 2GB/' /var/lib/postgresql/data/postgresql.conf
7171
EOF
7272
- run: docker restart --time 0 my_postgres_container
73-
- run: sleep 5
73+
- run: sleep 10
7474
- run: docker ps
7575
- run: docker exec my_postgres_container psql -c 'SHOW max_connections;'
7676
- name: setup repository

0 commit comments

Comments
 (0)
Please sign in to comment.