Monica视频监控处理程序
xc
2020-12-07 819e87d22ac1fd61adc2c0de52212a6ff322e77f
src/main/java/com/hbbh/adapter/config/GoldenConfig.java
@@ -4,8 +4,6 @@
import com.rtdb.service.impl.ServerImplPool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@@ -30,7 +28,7 @@
    private ServerImpl server;
    public void setServer(ServerImpl server) {
    private void setServer(ServerImpl server) {
        this.server = server;
    }
    public ServerImpl getServer() {
@@ -38,7 +36,7 @@
        return server;
    }
    public void load(){
    private void load(){
        if (server==null){
            try {
                ServerImplPool pool = new ServerImplPool(_ip, _port, _username, _password, _poolSize, _maxSize);