We've been using our wiki for about a year and a half.
The event log has obviously gotten quite large (~24MB).
As a result, the RecentChanges page has gotten slower
and slower. After looking into the SystemInfo macro
(used at the top of the RecentChanges page), I saw that
the entire event log file is read line-by-line (and
each line is fully parsed! ugh) simply so that the
SystemInfo macro can report the number of entries.
Can you make this more efficient/practical? ie.. add a
numEvents( ) method to eventlog.py that more
efficiently provides this info.
Log in to post a comment.