Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Xenos2016-08-25 03:28:04 -0400
committerStefan Xenos2016-08-25 03:29:07 -0400
commit04d0bef8bc6079faf513c7e893ec321dc4e9b3d9 (patch)
tree797c4c9a5a5269ab3414d1b3b802b40b636b3580
parent6bfd9bef40482dd0e0766758bbdd1f29e562b99e (diff)
downloadrt.equinox.bundles-04d0bef8bc6079faf513c7e893ec321dc4e9b3d9.tar.gz
rt.equinox.bundles-04d0bef8bc6079faf513c7e893ec321dc4e9b3d9.tar.xz
rt.equinox.bundles-04d0bef8bc6079faf513c7e893ec321dc4e9b3d9.zip
Bug 498042 - SubMonitor.split takes a lot of time to cancelY20160901-1000I20160906-0800I20160830-0800
ProgressMonitor Change-Id: I69ccf65aae33ff71781206fc5e36ed229c17cefd Signed-off-by: Stefan Xenos <sxenos@gmail.com>
-rw-r--r--bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
index 02bb70da..9ec1f770 100644
--- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
+++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
@@ -178,7 +178,7 @@ public final class SubMonitor implements IProgressMonitorWithBlocking {
* affects operations which are too small to report any progress. Operations which are large
* enough to consume at least one tick will always be checked for cancellation.
*/
- private static final int TRIVIAL_OPERATIONS_BEFORE_CANCELLATION_CHECK = 1000;
+ private static final int TRIVIAL_OPERATIONS_BEFORE_CANCELLATION_CHECK = 10;
/**
* Minimum number of ticks to allocate when calling beginTask on an unknown IProgressMonitor.

Back to the top