wangzhengquan
2020-06-19 1b26f1dd275e7ff947fcf2ecdbbad8f6bc1e0b49
service/netdisk_service.c
@@ -17,7 +17,6 @@
int  WORKERS ;
std::string localUrl;
std::string remoteUrl;
PropertiesConfig config("../data/config.txt");
@@ -201,8 +200,7 @@
{
  //环境变量初始化
  WORKERS = config.getInt("workers");
  localUrl = config.get("local_url");
  remoteUrl = config.get("remote_url");
  remoteUrl = config.get("client_url");
  //海康设备环境初始化
  Netdisk_EnvConfig hcEnvConfig;
@@ -215,7 +213,7 @@
  initThreadPool();
  startServer(localUrl.c_str());
  startServer(config.get("server_url").c_str());
  HCNetdisk::netdisk_deinit();