a/src/index/recollindex.cpp b/src/index/recollindex.cpp
...
...
120
    {
120
    {
121
    // Update the status file. Avoid doing it too often. Always do
121
    // Update the status file. Avoid doing it too often. Always do
122
    // it at the end (status DONE)
122
    // it at the end (status DONE)
123
    if (status.phase == DbIxStatus::DBIXS_DONE || 
123
    if (status.phase == DbIxStatus::DBIXS_DONE || 
124
            status.phase != m_prevphase || m_chron.millis() > 300) {
124
            status.phase != m_prevphase || m_chron.millis() > 300) {
125
            if (status.totfiles < status.filesdone) {
125
            if (status.totfiles < status.filesdone ||
126
                status.phase == DbIxStatus::DBIXS_DONE) {
126
                status.totfiles = status.filesdone;
127
                status.totfiles = status.filesdone;
127
            }
128
            }
128
        m_prevphase = status.phase;
129
        m_prevphase = status.phase;
129
        m_chron.restart();
130
        m_chron.restart();
130
            m_file.holdWrites(true);
131
            m_file.holdWrites(true);