diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-02-11 12:00:59 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-02-11 12:00:59 +0000 |
commit | f2a9d18477e9ed79dff64bfc141d5ad9f176601d (patch) | |
tree | 0d7d17ce60deb9136c715155f0461c7bd7c371fc /processing | |
parent | 959503685d9a5fb15e6e63d494c02f65b4081b56 (diff) |
If debugging of SearchHandler is turned on, the 1k first request will have trace and timing information.
The 1k number is configurable in the container-http config.
Diffstat (limited to 'processing')
-rw-r--r-- | processing/src/main/java/com/yahoo/processing/execution/Execution.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/processing/src/main/java/com/yahoo/processing/execution/Execution.java b/processing/src/main/java/com/yahoo/processing/execution/Execution.java index ee1e9eb39e4..aeeae58543e 100644 --- a/processing/src/main/java/com/yahoo/processing/execution/Execution.java +++ b/processing/src/main/java/com/yahoo/processing/execution/Execution.java @@ -206,7 +206,7 @@ public class Execution { * Creates an empty environment. Only useful for some limited testing */ public static <C extends Processor> Environment<C> createEmpty() { - return new Environment<C>(new ChainRegistry<C>()); + return new Environment<>(new ChainRegistry<>()); } /** @@ -254,7 +254,7 @@ public class Execution { /** * If true, do timing logic, even though trace level is low. */ - private boolean forceTimestamps = false; + private boolean forceTimestamps; /** * Creates an empty root trace with a given level of tracing |