Skip to content

Revert 46 minute threshold#34

Merged
thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah:remove_46_minutes_threshold
Apr 23, 2019
Merged

Revert 46 minute threshold#34
thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah:remove_46_minutes_threshold

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-archive/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-archive/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
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.

3 participants