Large audit log takes a long time to pull up. (25 secs+)
Need to set to debug, and see which query is taking a long time.
minor fixing to audits search link, closes #1700
ensure that migration script is a bit more rubost for audit uses, refs #1700
(sadly the audited gem alias the .user method, and sometime returns
strings and other times return a user object)
#1 Updated by Brian Gupta almost 11 years ago
- Assignee set to Ohad Levy
Debug output.. http://pastebin.com/w5VKWDxx
#2 Updated by Ohad Levy almost 11 years ago
- Assignee changed from Ohad Levy to Amos Benari
#3 Updated by Amos Benari almost 11 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset de3fb0d718467e9e8236b387044f725f8f5c1e34.
#4 Updated by Brian Gupta almost 11 years ago
Performance is a lot better, but I may have discovered a regression.
I'm not 100% sure if it's related, but now searching the audit history by user seems to be broken, and it was (Largely) working a couple days ago.
Mmmm. Testing further indicated that for example if my username is bgupta and my display name is "Brian Gupta", if I click on a name in the audit list, it searchs for the display name, which doesn't work, but if I manually type in my login name (bgupta) into the search it works. Searching for the Admin user audit still seems broken.
#5 Updated by Ohad Levy almost 11 years ago
- Status changed from Closed to Assigned
- Target version set to 1.0
#6 Updated by Ohad Levy almost 11 years ago
- Status changed from Assigned to Closed
Applied in changeset e2217aa6294619cadbefba4f35f23f4f902f82f8.
fixes #1700 audit page performance improved