Opened 9 years ago
Closed 8 years ago
#2915 closed defect (bug) (duplicate)
bbp_forum_query_last_reply_id and bbp_update_forum_reply_count queries too long
Reported by: | tharsheblows | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Component - Forums | Keywords: | dev-feedback has-patch |
Cc: |
Description
This is a number of characters issue. Those queries are getting killed because they have so many topic ids in them, one is currently 16833 characters long (over 2000 topics). I have fairly robust hosting so think this might be an issue for other people too?
I'm curious to know if anyone else is running into it - the number of topics and replies will be the same(ish) in eg the forums list and it won't be fixable in the tools. Or if there's another ticket open on it, I can't find one but that doesn't mean it's not there!
Attachments (2)
Change History (5)
#1
@
9 years ago
I've just done the topic_ids in batches of 1000. I have a feeling this isn't the best way for everyone but it works for me and makes a decent starting point.
run through chunked topic_id arrays