The two queries were having issues. I'm going to write something to cache them.

CommentFileSizeAuthor
#1 karma.module.diff.txt3.4 KBdrumm

Comments

drumm’s picture

Status: Active » Needs review
StatusFileSize
new3.4 KB

Here is the tentative patch.

FiReaNGeL’s picture

Mysql queries? If so the mysql query cache (if active) would handle the caching. It would be better to actually optimize the queries... could you post them with an EXPLAIN if possible?

drumm’s picture

Assigned: drumm » Unassigned

I'm no longer working on this. mysql's query cache is usually quite short-lived and doesn't necessarily work for this.

Steven Brown’s picture

Status: Needs review » Closed (won't fix)

The Karma module has since changed maintainers and headed in a new direction. So I am closing this issue.