1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug 68078: removed delay affects indexing procedure too much.

This commit is contained in:
Oleg Krasilnikov 2006-03-03 13:22:23 +00:00
parent 632cfdc3d6
commit 7f33784eff

View file

@ -476,9 +476,10 @@ public abstract class JobManager implements Runnable {
JobManager.verbose("FINISHED background job - " + job); //$NON-NLS-1$
}
moveToNextJob();
if (this.awaitingClients == 0) {
Thread.sleep(50);
}
// Bug 68078: this delay affects indexing procedure too much.
// if (this.awaitingClients == 0) {
// Thread.sleep(50);
// }
}
} catch (InterruptedException e) { // background indexing was interrupted
}