You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/09/14 20:08:53 UTC
[jira] [Commented] (SLIDER-935) Move Duration to using monotonic
time
[ https://issues.apache.org/jira/browse/SLIDER-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743941#comment-14743941 ]
ASF subversion and git services commented on SLIDER-935:
--------------------------------------------------------
Commit ad0be556795eab90c3db0ff9ff28a248f4af1a1b in incubator-slider's branch refs/heads/feature/SLIDER-82_ANTI_AFFINITY_REQUIRED from [~stevel@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=ad0be55 ]
SLIDER-935 Move Duration to using monotonic time
> Move Duration to using monotonic time
> -------------------------------------
>
> Key: SLIDER-935
> URL: https://issues.apache.org/jira/browse/SLIDER-935
> Project: Slider
> Issue Type: Improvement
> Components: core
> Affects Versions: Slider 0.80
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Fix For: Slider 0.81
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Slider's {{Duration}} class, while useful, uses {{System.currentTimeMillis()}} for its time. It should be asking for monotonic time (and dividing by 1e6) for milliseconds, as current time is bidirectional, and on VMs can be particularly choppy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)