mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-11-28 01:00:05 +08:00
update 优化 替换过期方法
This commit is contained in:
@@ -61,7 +61,7 @@ public class PowerJobConfig{
|
||||
if (worker.getPort() != null) {
|
||||
config.setPort(worker.getPort());
|
||||
} else {
|
||||
int port = worker.getAkkaPort();
|
||||
int port = worker.getPort();
|
||||
if (port <= 0) {
|
||||
port = NetUtils.getRandomPort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user