diff --git a/base/threadpool.h b/base/threadpool.h index 52b766400..2eded6ef9 100644 --- a/base/threadpool.h +++ b/base/threadpool.h @@ -12,7 +12,7 @@ public: typedef function Task; - ThreadPool(long numThreads = 16); + ThreadPool(long numThreads = 64); ~ThreadPool(void); static ThreadPool::Ptr GetDefaultPool(void); @@ -33,4 +33,4 @@ private: } -#endif /* THREADPOOL_H */ \ No newline at end of file +#endif /* THREADPOOL_H */ diff --git a/base/timer.cpp b/base/timer.cpp index 58e9da42c..d4382b9b8 100644 --- a/base/timer.cpp +++ b/base/timer.cpp @@ -131,8 +131,6 @@ void Timer::Start(void) Stop(); Timers.push_back(GetSelf()); - - Reschedule(time(NULL) + m_Interval); } /**