Skip to content

Commit a6046c0

Browse files
committed
Hot fix for policy timed update
1 parent 8cf840d commit a6046c0

File tree

7 files changed

+16
-3
lines changed

7 files changed

+16
-3
lines changed

RELEASE-zh.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 发布历史
22

3+
## 1.5.2
4+
5+
1. 策略定时更新的热修复
6+
37
## 1.5.1
48

59
1. 针对泳道策略的热修复

RELEASE.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 1.5.2
4+
5+
1. Hot fix for policy timed update
6+
37
## 1.5.1
48

59
1. Hot fix for swimlane policy

joylive-bom/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</scm>
4949

5050
<properties>
51-
<revision>1.5.1</revision>
51+
<revision>1.5.2</revision>
5252
</properties>
5353

5454
<dependencyManagement>

joylive-core/joylive-governance-api/src/main/java/com/jd/live/agent/governance/service/sync/file/FileWatcher.java

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public FileWatcher(String name, SyncConfig config, Publisher<FileEvent> publishe
8383
.condition(this::isStarted)
8484
.runnable(this::run)
8585
.build();
86+
this.daemon.start();
8687
if (publisher != null) {
8788
publisher.addHandler(handler);
8889
}

joylive-core/joylive-governance-api/src/main/java/com/jd/live/agent/governance/service/sync/http/HttpWatcher.java

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public HttpWatcher(String name, SyncConfig config, Application application) {
7272
.condition(this::isStarted)
7373
.runnable(this::run)
7474
.build();
75+
this.daemon.start();
7576
}
7677

7778
@Override

joylive-package/src/main/assembly/config/config.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ agent:
8585
liveServiceTemplate: ${CONFIG_NACOS_KEY_LIVE_SERVICE_TEMPLATE:govern-liveService-${name}}
8686
laneSpace:
8787
type: ${CONFIG_LANE_SPACE_API_TYPE:file} # [file,jmsf,nacos]
88-
url: ${CONFIG_LANE_SPACE_API_URL:http:http://api.jmsf.local:8080/v1}
88+
url: ${CONFIG_LANE_SPACE_API_URL:http://api.jmsf.local:8080/v1}
89+
interval: 5000
90+
timeout: 3000
91+
initialTimeout: 20000
8992
# for jmsf
9093
jmsf:
9194
spacesUrl: /laneSpaces

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</scm>
4747

4848
<properties>
49-
<revision>1.5.1</revision>
49+
<revision>1.5.2</revision>
5050
<lombok.version>1.18.34</lombok.version>
5151
<mockito-core.version>4.11.0</mockito-core.version>
5252
<junit-jupiter.version>5.10.1</junit-jupiter.version>

0 commit comments

Comments
 (0)