You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-3296 CTRL+C should not double remove from dequeue.
This commit is contained in:
@ -86,6 +86,8 @@ using namespace joblist;
|
||||
|
||||
namespace fs = boost::filesystem;
|
||||
|
||||
ThreadPool DMLServer::fDmlPackagepool(10, 0);
|
||||
|
||||
namespace
|
||||
{
|
||||
DistributedEngineComm *Dec;
|
||||
@ -551,16 +553,16 @@ int main(int argc, char* argv[])
|
||||
|
||||
int temp;
|
||||
int serverThreads = 10;
|
||||
int serverQueueSize = 50;
|
||||
int serverQueueSize = 0;
|
||||
const string DMLProc("DMLProc");
|
||||
|
||||
temp = toInt(cf->getConfig(DMLProc, "ServerThreads"));
|
||||
if (temp > 0)
|
||||
serverThreads = temp;
|
||||
|
||||
temp = toInt(cf->getConfig(DMLProc, "ServerQueueSize"));
|
||||
if (temp > 0)
|
||||
serverQueueSize = temp;
|
||||
// temp = toInt(cf->getConfig(DMLProc, "ServerQueueSize"));
|
||||
// if (temp > 0)
|
||||
// serverQueueSize = temp;
|
||||
|
||||
|
||||
bool rootUser = true;
|
||||
@ -599,6 +601,8 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
JobStep::jobstepThreadPool.setDebug(true);
|
||||
JobStep::jobstepThreadPool.invoke(ThreadPoolMonitor(&JobStep::jobstepThreadPool));
|
||||
DMLServer::fDmlPackagepool.setDebug(true);
|
||||
DMLServer::fDmlPackagepool.invoke(ThreadPoolMonitor(&DMLServer::fDmlPackagepool));
|
||||
}
|
||||
|
||||
//set ACTIVE state
|
||||
|
Reference in New Issue
Block a user