Skip to content

Commit e2539c4

Browse files
committed
111
1 parent 31ac77f commit e2539c4

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,20 @@ jobs:
1212

1313
services:
1414
nacos:
15-
image: nacos/nacos-server:v2.2.3
15+
image: nacos/nacos-server:v2.3.2-slim
1616
env:
1717
MODE: standalone
18-
PREFER_HOST_MODE: hostname
18+
JVM_XMS: 512m
19+
JVM_XMX: 512m
1920
ports:
2021
- 8848:8848
2122
- 9848:9848
2223
options: >-
2324
--health-cmd="curl -f http://localhost:8848/nacos/v1/console/health/readiness"
2425
--health-interval=10s
2526
--health-timeout=5s
26-
--health-retries=12
27-
--health-start-period=40s
27+
--health-retries=15
28+
--health-start-period=60s
2829
2930
steps:
3031
- name: Checkout code

.github/workflows/maven.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ jobs:
6363

6464
services:
6565
nacos:
66-
image: nacos/nacos-server:v2.2.3
66+
image: nacos/nacos-server:v2.3.2-slim
6767
env:
6868
MODE: standalone
69-
PREFER_HOST_MODE: hostname
69+
JVM_XMS: 512m
70+
JVM_XMX: 512m
7071
ports:
7172
- 8848:8848
7273
- 9848:9848
@@ -75,8 +76,8 @@ jobs:
7576
--health-cmd "curl -f http://localhost:8848/nacos/v1/console/health/readiness"
7677
--health-interval 10s
7778
--health-timeout 5s
78-
--health-retries 12
79-
--health-start-period 40s
79+
--health-retries 15
80+
--health-start-period 60s
8081
steps:
8182
- uses: actions/checkout@v4
8283

0 commit comments

Comments
 (0)