shared: indexer: Report progress more often
Processing dirs with large docs takes time and waiting till the threshold is reached can be a bit annoying in those cases, so report if last report was 10+ seconds ago.
This commit is contained in:
@@ -72,6 +72,8 @@ class Indexer : public QObject
|
||||
IndexResult currentIndexResult;
|
||||
void launchWorker(ConcurrentQueue<QString> &queue, int batchsize);
|
||||
|
||||
QTime lastProgressReportTime = QTime::currentTime();
|
||||
|
||||
public:
|
||||
bool isRunning();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user