Quote:
Today at 12:47 AM Boofo said this in Post #9
Does this add a query for every poll in the forum? Or just the closed ones?
|
A query occurs for each thread with a poll attached that is going to be displayed to see if it is open or closed.
The guys that wrote vB are sharp, we're not dealing with "ALL" the posts in the forum when we do a display. We get the number of threads that is set in the admin panel displayed. So, if I'm reading this code correctly, a forum display of 15 threads occuring would yield - worst case senario if all 15 threads have polls - 15 additional queries per forumdisplay. This is usually about 3 or 4 from what I've seen. Boards with more polls may want to be aware of the over head though.
Thanks. That help?
Regards