diff options
author | Stefan Xenos | 2016-08-25 07:28:04 +0000 |
---|---|---|
committer | Stefan Xenos | 2016-08-25 07:29:07 +0000 |
commit | 04d0bef8bc6079faf513c7e893ec321dc4e9b3d9 (patch) | |
tree | 797c4c9a5a5269ab3414d1b3b802b40b636b3580 | |
parent | 6bfd9bef40482dd0e0766758bbdd1f29e562b99e (diff) | |
download | rt.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.java | 2 |
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 02bb70da7..9ec1f7705 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. |