aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar aehlig <aehlig@google.com>2017-06-21 14:48:35 +0200
committerGravatar Philipp Wollermann <philwo@google.com>2017-06-22 11:47:04 +0200
commit7e9dcfa501fb941cb9a0e42a41d954b3b34fa7a7 (patch)
tree90f8e73950654e578aee369ac565e89cd3eb2be6
parentf5aeed9649dec257ca9d8565262899e9f212b774 (diff)
Fix comment in ExperimentalEventHandler
The "is is line with" should read "is in line with". While there, also fix the formating of that comment. RELNOTES: None. PiperOrigin-RevId: 159683437
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java b/src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java
index 0515276aca..4c3ac451c3 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/ExperimentalEventHandler.java
@@ -104,15 +104,19 @@ public class ExperimentalEventHandler implements EventHandler {
* values for the remaining relative capacity left at which we start taking given measure.
*
* <p>The degrading of progress updates to stay within output limit is done in the following
- * steps. - We limit progress updates to at most one per second; this is the granularity at which
- * times in he progress bar are shown. So the appearance won't look too bad. Hence we start that
- * measure realatively early. - We only show the short version of the progress bar, even if curses
- * are enabled. - We reduce the update frequency of the progress bar to at most one update per 5s.
- * This still looks as moving and is is line with escalation strategy that so far, every step
- * reduces output by about a factor of 5. - We start decreasing the update frequency to what we
- * would do, if curses were not allowed. Note that now the time between updates is at least a
- * fixed fraction of the time that passed so far; so the time between progress updates will
- * continue to increase.
+ * steps.
+ * <ul>
+ * <li>We limit progress updates to at most one per second; this is the granularity at which
+ * times in he progress bar are shown. So the appearance won't look too bad. Hence we start
+ * that measure relatively early.
+ * <li>We only show the short version of the progress bar, even if curses are enabled.
+ * <li>We reduce the update frequency of the progress bar to at most one update per 5s. This
+ * still looks moving and is in line with the escalation strategy that so far: every step
+ * reduces output by about a factor of 5.
+ * <li>We start decreasing the update frequency to what we would do, if curses were not allowed.
+ * Note that now the time between updates is at least a fixed fraction of the time that
+ * passed so far; so the time between progress updates will continue to increase.
+ * </ul>
*/
private static final double CAPACITY_INCREASE_UPDATE_DELAY = 0.7;