Merge pull request #145 from iaom/0219-dev
Update exit status settings.
This commit is contained in:
commit
f4cc4353a9
|
@ -188,6 +188,7 @@ void FirstIndex::run(){
|
|||
qWarning("write error\n");
|
||||
}
|
||||
qDebug("write data ok!\n");
|
||||
GlobalSettings::getInstance()->reset(INOTIFY_NORMAL_EXIT);
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ bool IndexGenerator::creatAllIndex(QQueue<QVector<QString> > *messageList)
|
|||
// FileUtils::_index_status |= 0x1;
|
||||
HandlePathList(messageList);
|
||||
qDebug()<<"begin creatAllIndex";
|
||||
GlobalSettings::getInstance()->setValue(INDEX_DATABASE_STATE,"1");
|
||||
GlobalSettings::getInstance()->setValue(INDEX_DATABASE_STATE,"0");
|
||||
try
|
||||
{
|
||||
// m_indexer = new Xapian::TermGenerator();
|
||||
|
|
Loading…
Reference in New Issue