Baseball Toaster Fairpole
Help
Minor Upgrade
2005-04-20 22:15
by Ken Arneson

The Dodger Thoughts game threads have been a good test for the Fairpole software.

At one point yesterday during the Dodger game, the CPU started working a little too hard. So today, I installed a new version that has a couple of changes:

1. Comments are now cached, instead of hitting the database for each page load.

2. When the number of comments gets over 50, the comments become collapsable, in groups of 50.

The changes looked good on the CPU load, until Jose Valentin hit that triple in the 10th inning, and the CPU went berserk again. So obviously, I still have some debugging to do. There's a bug somewhere, and today's changes have done only lowered the odds that we'll encounter the bug. It didn't kill the bug.

Comments
2005-04-21 20:38:35
1.   adg
The status for which sets of comments are shown/hidden is not consistent. If I refresh the DodgerThoughts comment thread, having 1-50 and 51-100 collapsed, upon reload 1-50 is still collapsed, but 51-100 uncollapses. Just letting you know.

Collapsing sets of comments was a great idea. Keep up the good work.

Comment status: comments have been closed. Baseball Toaster is now out of business.