Skip to content

Commit d29668d

Browse files
committed
feat: fix (#468)
1 parent de7c70c commit d29668d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

camellia-delay-queue/camellia-delay-queue-sdk/src/main/java/com/netease/nim/camellia/delayqueue/sdk/api/CamelliaDelayQueueApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public CamelliaDelayQueueApi(CamelliaDelayQueueSdkConfig sdkConfig) {
4343
}
4444
DelayQueueServer server = new DelayQueueServer(url);
4545
this.all = new ArrayList<>(Collections.singletonList(server));
46+
this.dynamic = new ArrayList<>();
4647
} else {
4748
this.all = new ArrayList<>(toServerList(discovery.findAll()));
4849
if (all.isEmpty()) {

camellia-id-gen/camellia-id-gen-sdk/src/main/java/com/netease/nim/camellia/id/gen/sdk/CamelliaIdGenInvoker.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public CamelliaIdGenInvoker(CamelliaIdGenSdkConfig config) {
3434
throw new CamelliaIdGenException("url/discovery is empty");
3535
}
3636
this.all = new ArrayList<>(Collections.singletonList(new IdGenServer(url)));
37+
this.dynamic = new ArrayList<>();
3738
} else {
3839
this.all = new ArrayList<>(toIdGenServerList(this.discovery.findAll()));
3940
if (all.isEmpty()) {

0 commit comments

Comments
 (0)