fix(网络组件): 设置支持路由设置类型的网络组件可以被复用 (#273)

This commit is contained in:
bestfeng1020 2023-04-21 18:22:35 +08:00 committed by GitHub
parent 7eb601b849
commit d51aa6ac1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -140,4 +140,9 @@ public class DefaultHttpServerProvider implements NetworkProvider<HttpServerConf
}
return Mono.just(options);
}
@Override
public boolean isReusable() {
return true;
}
}

View File

@ -146,4 +146,9 @@ public class MqttClientProvider implements NetworkProvider<MqttClientProperties>
}
return Mono.just(options);
}
@Override
public boolean isReusable() {
return true;
}
}