in reply to Re: skipped days, skipped votes (exactly why)
in thread skipped days, skipped votes
Here's an idea.
Disclaimer: no clue how it really works - I am just under the impression that the vote fairy just blindly crawls the entire nodebase for users.
Instead, have the vote op add a row to a new table (votequeue or something) with a single column containing the userid. If someone hasn't voted on a day, he won't be added to this queue. The cronjob can then just join on that table to update, and wipe it when done.
That ought to clip the number of records that have to be updated to maybe a few hundred on a busy day - probably a matter of seconds to process.
Or am I completely wrong?
Makeshifts last the longest.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: skipped days, skipped votes (two problems)
by tye (Sage) on Jan 04, 2003 at 05:48 UTC |
In Section
Perl Monks Discussion