|
|
@@ -146,14 +146,6 @@ public class AliBridgeServer extends AbstractClusterUniqueTask<AliBridgeServer>
|
|
|
}
|
|
|
|
|
|
public Mono<AliBridgeServer> refreshBootStrap(AliIotBridgeEntity params,boolean broadcast){
|
|
|
- if (this.bootstrap!=null) {
|
|
|
- try {
|
|
|
- this.bootstrap.disconnectBridge();
|
|
|
- }catch (Exception e){
|
|
|
- log.error(e.getMessage());
|
|
|
- }
|
|
|
- this.bootstrap=null;
|
|
|
- }
|
|
|
start.set(false);
|
|
|
return initBridge(params,broadcast)
|
|
|
.thenReturn(this);
|