Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.3, 1.4, 1.4.1
-
None
-
JDK1.6
Description
i has a job which runs about 65 hours, but the dataimport?command=status http requests returns 5 hours.
in getTimeElapsedSince method of DocBuilder:
static String getTimeElapsedSince(long l) { l = System.currentTimeMillis() - l; return (l / (60000 * 60)) % 60 + ":" + (l / 60000) % 60 + ":" + (l / 1000) % 60 + "." + l % 1000; }
the hours Compute is wrong, it mould be :
static String getTimeElapsedSince(long l) { l = System.currentTimeMillis() - l; return (l / (60000 * 60)) + ":" + (l / 60000) % 60 + ":" + (l / 1000) % 60 + "." + l % 1000; }