GitHub user enothereska opened a pull request: https://github.com/apache/kafka/pull/2603
MINOR: Minor reduce unnecessary calls to time.millisecond (part 2) Avoid calling time.milliseconds more often than necessary. Cleaning and committing logic can use the timestamp at the start of the loop with minimal consequences. You can merge this pull request into a Git repository by running: $ git pull https://github.com/enothereska/kafka minor-reduce-milliseconds2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2603.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2603 ---- commit 4a99cef1e8021287f0d0bf1b0bad2d72ff92d666 Author: Eno Thereska <eno.there...@gmail.com> Date: 2017-02-27T19:39:24Z Reduce number of time.millisecond calls further commit d06d7a2328a9c39f9e21ffb6bc6881803078829a Author: Eno Thereska <eno.there...@gmail.com> Date: 2017-02-27T19:58:24Z Added time to API ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---