apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vrozov <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: apexcore-407 adaptive spin milli...
Date Mon, 28 Mar 2016 19:06:09 GMT
Github user vrozov commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/285#discussion_r57616145
  
    --- Diff: engine/src/main/java/com/datatorrent/stram/engine/InputNode.java ---
    @@ -97,8 +98,11 @@ public final void run()
                     ((IdleTimeHandler)operator).handleIdleTime();
                   }
                   else {
    +                spinMillis = Math.min(spinMillis + 1, maxSpinMillis);
    --- End diff --
    
    Sleep should be first, so the first sleep is for 0 millis.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message