|
@@ -258,7 +258,7 @@ int main(int argc ,char * argv[])
|
|
|
is.init();
|
|
|
|
|
|
card_path::init();
|
|
|
- test_find_path(point(4600,-75),point(4727,-90));
|
|
|
+// test_find_path(point(4600,-75),point(4727,-90));
|
|
|
|
|
|
module_mgr::start();
|
|
|
auto th = std::thread(web_beatheart_thread);
|
|
@@ -268,7 +268,8 @@ int main(int argc ,char * argv[])
|
|
|
net_service mh;
|
|
|
int port=config.get("service.port",4000);
|
|
|
|
|
|
- printf("\nservice_handle::instance(&mh)->run(%d); \n",port);
|
|
|
+ log_info("service_handle::instance(&mh)->run(%d)",port);
|
|
|
+ std_info("service_handle::instance(&mh)->run(%d)",port);
|
|
|
service_handle::instance(&mh)->run(port);
|
|
|
|
|
|
sDBConnPool.Close();
|
|
@@ -278,3 +279,5 @@ int main(int argc ,char * argv[])
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
+
|
|
|
+
|