Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert 46 minute threshold #34

Merged
merged 1 commit into from Apr 23, 2019

Conversation

thaJeztah
Copy link
Member

This partially reverts commit 57ccf25 (#22).

Using 46 minutes as a threshold proved to be confusing (see moby/moby#38807), given that the human-duration does not use "15 minute" precision anywhere.

Before this patch, 47 minutes was shown as "About an hour". With this change, it's shown as "47 minutes".

Addresses moby/moby#38807

This partially reverts commit 57ccf25.

Using 46 minutes as a threshold proved to be confusing, given
that the human-duration does not use "15 minute" precision
anywhere.

Before this patch, 47 minutes was shown as "About an hour". With this
change, it's shown as "47 minutes".

Addresses moby/moby#38807

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

@vdemeester @AkihiroSuda PTAL (happy to get your input on this one)

Copy link
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

@thaJeztah
Copy link
Member Author

Thinking of pushing a new tag after this one (and my other PR #33) is merged; WDYT; should that be v0.3.4 or v0.4.0 ?

@vdemeester
Copy link
Collaborator

I would vote for 0.4.0

@thaJeztah thaJeztah merged commit 519db1e into docker:master Apr 23, 2019
@thaJeztah thaJeztah deleted the remove_46_minutes_threshold branch April 23, 2019 14:49
thaJeztah added a commit to thaJeztah/docker that referenced this pull request Apr 23, 2019
relevant changes:

- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
thaJeztah added a commit to thaJeztah/cli that referenced this pull request Apr 23, 2019
relevant changes:

- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
thaJeztah added a commit to thaJeztah/containerd that referenced this pull request Apr 23, 2019
relevant changes:

- docker/go-units#19 make 1 second not to be plural seconds
- docker/go-units#20 Add `HumanSizeWithPrecision` function
- docker/go-units#21 change week display rule
- docker/go-units#22 Better human duration precision
- docker/go-units#23 Removes spaces before unit
- docker/go-units#27 Fix containerd#26 - RAMInBytes Bug
- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
docker-jenkins pushed a commit to docker/docker-ce that referenced this pull request Apr 23, 2019
relevant changes:

- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: c94308fa99efe8623fb1a410732609dc45605e9b
Component: cli
tiborvass pushed a commit to tiborvass/cli that referenced this pull request Apr 23, 2019
relevant changes:

- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
docker-jenkins pushed a commit to docker/docker-ce that referenced this pull request Apr 24, 2019
relevant changes:

- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: c782aef6532b4a30952b84d35b2496d5af1ba1ae
Component: engine
kiku-jw pushed a commit to kiku-jw/moby that referenced this pull request May 16, 2019
relevant changes:

- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants