From 25f94726888e19d6efed7b393217d9f56a0ca767 Mon Sep 17 00:00:00 2001 From: chenshijun <chenshijun@aiotlink.com> Date: 星期五, 15 三月 2019 18:44:46 +0800 Subject: [PATCH] Merge branch 'yw.1.2.fixbug' of ssh://192.168.1.226:29418/development/c++ into yw.1.2.fixbug --- QiaoJiaSystem/FaceDetectServer/main.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/FaceDetectServer/main.cpp b/QiaoJiaSystem/FaceDetectServer/main.cpp index 2529adc..f2820dc 100644 --- a/QiaoJiaSystem/FaceDetectServer/main.cpp +++ b/QiaoJiaSystem/FaceDetectServer/main.cpp @@ -4,6 +4,7 @@ #include <basic/util/app/AppPreference.hpp> #include "FaceDetectServerI.h" int main(int argc,char** argv) { + std::cout<<__DATE__<<" "<<__TIME__<<std::endl; #ifdef DEBUG argc = 2; const char* home = argv[0]; @@ -28,8 +29,8 @@ int threadMax = atol(ich->getProperties()->getProperty("user.thread.max").c_str()); #endif ich->getProperties()->setProperty("Ice.ThreadPool.Server.SizeMax",to_string(threadMax)); - appPref.setLongData("gpu.index",atol(gpuIndex.c_str())); - appPref.setLongData("thread.max", threadMax); + appPref.setIntData("gpu.index",atol(gpuIndex.c_str())); + appPref.setIntData("thread.max", threadMax); auto adapter = ich->createObjectAdapter(adapterName); adapter->add(new FaceDetectServerI(), Ice::stringToIdentity(identity)); -- Gitblit v1.8.0