mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fix delta time calculation in PerformanceSearch_p for the 1. entry
(INITIALIZATION displayed absolute date, set delta to 0 for 1. entry)
This commit is contained in:
parent
13c5c09518
commit
0aa0dd0b5b
|
@ -51,7 +51,7 @@ public class PerformanceSearch_p {
|
||||||
prop.put("table_" + c + "_event", search.processName.name());
|
prop.put("table_" + c + "_event", search.processName.name());
|
||||||
prop.put("table_" + c + "_comment", search.comment);
|
prop.put("table_" + c + "_comment", search.comment);
|
||||||
prop.putNum("table_" + c + "_count", search.resultCount);
|
prop.putNum("table_" + c + "_count", search.resultCount);
|
||||||
prop.putNum("table_" + c + "_delta", event.getTime() - lastt);
|
prop.putNum("table_" + c + "_delta", (c == 0 ? lastt : event.getTime() - lastt));
|
||||||
prop.put("table_" + c + "_time", event.getFormattedDate());
|
prop.put("table_" + c + "_time", event.getFormattedDate());
|
||||||
prop.putNum("table_" + c + "_duration", search.duration);
|
prop.putNum("table_" + c + "_duration", search.duration);
|
||||||
c++;
|
c++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user