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

Show correct timescale on the Dashboard. #393

Closed
wants to merge 2 commits into from
Closed

Show correct timescale on the Dashboard. #393

wants to merge 2 commits into from

Conversation

JayBizzle
Copy link
Contributor

@JayBizzle JayBizzle commented Sep 27, 2018

I find it mildly annoying that we have our horizon.trim.recent config set to 24 hours, but the dashboard still says Failed Jobs past hour etc.

This PR uses the config value to display the number of hours.

Before...
screenshot 2018-09-27 at 19 32 47

After (assuming horizon.trim.recent set to 1440)...
screenshot 2018-09-27 at 19 32 28

Not sure if this is the best implementation, but it was the best i could come up with.

Thanks

@themsaid
Copy link
Member

I think it's better to just say "Recent Jobs", "Recent Failed jobs", so people can use recency that's less than 60 minutes.

This pull request was closed.
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.

2 participants