webui and console: add job duration info in job listings#1007
Merged
pstorz merged 6 commits intobareos:masterfrom Dec 6, 2021
Merged
Conversation
arogge
reviewed
Nov 29, 2021
5eb73b1 to
55bc7ff
Compare
9259e03 to
a40c22f
Compare
a40c22f to
0aa2378
Compare
16fac91 to
3323b13
Compare
fb83ed1 to
2f0748e
Compare
2f0748e to
2557735
Compare
pstorz
approved these changes
Dec 6, 2021
core/src/cats/dml/0006_list_jobs
Outdated
| Job.StartTime, | ||
| CASE | ||
| WHEN endtime IS NOT NULL THEN endtime - starttime | ||
| ELSE CURRENT_TIMESTAMP - starttime |
Member
There was a problem hiding this comment.
Suggested change
| ELSE CURRENT_TIMESTAMP - starttime | |
| ELSE CURRENT_TIMESTAMP(0) - starttime |
12 tasks
joergsteffens
added a commit
that referenced
this pull request
Mar 25, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: #1007: JSON API: 'list files' returns malformed json
14 tasks
joergsteffens
added a commit
that referenced
this pull request
Mar 27, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: #1007: JSON API: 'list files' returns malformed json Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com>
joergsteffens
added a commit
to joergsteffens/bareos
that referenced
this pull request
Mar 27, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: bareos#1007: JSON API: 'list files' returns malformed json Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> (cherry picked from commit 2168ccd)
joergsteffens
added a commit
to joergsteffens/bareos
that referenced
this pull request
Mar 27, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: bareos#1007: JSON API: 'list files' returns malformed json Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> (cherry picked from commit 2168ccd)
joergsteffens
added a commit
to joergsteffens/bareos
that referenced
this pull request
Mar 27, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: bareos#1007: JSON API: 'list files' returns malformed json Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> (cherry picked from commit 2168ccd) (cherry picked from commit e6cea14)
BareosBot
pushed a commit
that referenced
this pull request
Mar 27, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: #1007: JSON API: 'list files' returns malformed json Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com>
joergsteffens
added a commit
to joergsteffens/bareos
that referenced
this pull request
Mar 27, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: bareos#1007: JSON API: 'list files' returns malformed json Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> (cherry picked from commit 2168ccd)
joergsteffens
added a commit
to joergsteffens/bareos
that referenced
this pull request
Mar 28, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: bareos#1007: JSON API: 'list files' returns malformed json Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> (cherry picked from commit 2168ccd)
BareosBot
pushed a commit
to joergsteffens/bareos
that referenced
this pull request
Mar 28, 2024
BigSqlQuery fetches data in 100 row chunks. This change makes sure, that subsequent chunks also have valid header information. Fixes: bareos#1007: JSON API: 'list files' returns malformed json Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> (cherry picked from commit 2168ccd) (cherry picked from commit e6cea14)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This PR adds a
durationcolumn to thelist jobscommand to have a better idea of how long jobs take to run.The duration information is displayed both in the console (cli) and also in the webui.
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
General
Source code quality
bareos-check-sources --since-mergedoes not report any problemsgit statusshould not report modifications in the source tree after building and testing