From: Fábio Madeira Date: Thu, 8 Jun 2017 16:43:38 +0000 (+0100) Subject: JWS-121 Minor bug fix on the timeexec - wrong units. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fb98050153575a17988e847f7d3228547d04151c;p=jabaws.git JWS-121 Minor bug fix on the timeexec - wrong units. --- diff --git a/webservices/compbio/stat/servlet/AnnualStat.java b/webservices/compbio/stat/servlet/AnnualStat.java index bfa439c..b3124e4 100644 --- a/webservices/compbio/stat/servlet/AnnualStat.java +++ b/webservices/compbio/stat/servlet/AnnualStat.java @@ -191,7 +191,7 @@ public class AnnualStat extends HttpServlet { req.setAttribute("stat", monthlyTotals); req.setAttribute("total", Totals.sumOfTotals(monthlyTotals)); - req.setAttribute("timeexec", (endTime - startTime) / 100000000); + req.setAttribute("timeexec", (endTime - startTime) / 1000000000); req.setAttribute("timestamp", timeStamp); req.setAttribute("refreshfreq", refresh_freq); RequestDispatcher dispatcher = req.getRequestDispatcher("statpages/MonthlySummary.jsp"); diff --git a/webservices/compbio/stat/servlet/ServiceStatus.java b/webservices/compbio/stat/servlet/ServiceStatus.java index 8b29ded..2569a96 100644 --- a/webservices/compbio/stat/servlet/ServiceStatus.java +++ b/webservices/compbio/stat/servlet/ServiceStatus.java @@ -291,7 +291,7 @@ public class ServiceStatus extends HttpServlet { req.setAttribute("results", testResults); req.setAttribute("timestamp", timeStamp); - req.setAttribute("timeexec", (endTime - startTime) / 100000000); + req.setAttribute("timeexec", (endTime - startTime) / 1000000000); req.setAttribute("refreshfreq", refresh_freq); RequestDispatcher rd = req.getRequestDispatcher("statpages/ServicesStatus.jsp"); rd.forward(req, resp);