More accurate indexer query times in History

This commit is contained in:
Qstick
2020-12-27 22:51:38 -05:00
parent 041596df4c
commit ff926d71f7
17 changed files with 122 additions and 63 deletions

View File

@@ -91,6 +91,7 @@ namespace NzbDrone.Core.History
history.Data.Add("ElapsedTime", message.Time.ToString());
history.Data.Add("Query", message.Query.SearchTerm ?? string.Empty);
history.Data.Add("Categories", string.Join(',', message.Query.Categories) ?? string.Empty);
history.Data.Add("Successful", message.Successful.ToString());
history.Data.Add("QueryResults", message.Results.HasValue ? message.Results.ToString() : null);