From: CertIndex.com W. <web...@ce...> - 2001-04-17 20:28:18
|
thanks a lot for taking the time to address this. let me give a scenario just to make sure i 'got it'. you have 1000 comments in a story. user sets his commentspill to 500 and his commentlimit to 100 since commentspill is at 500, only 500 comments are 'acknowledged'. from that 500, they are divided into pages, 100 comments each. so the user ends up with 5 pages of 100 questions each of 500 of the 1000 comments. correct? (if so, is it the 500 newest or oldest? or is that determined by how they sort the story.) thanks again ----- Original Message ----- From: "Ask Slashdot Guy" <cl...@sl...> To: <sla...@li...> Sent: Tuesday, 17 April, 2001 10:42 Subject: Re: [Slashcode-development] comment question > > On Mon, 16 Apr 2001 21:22:53 -0700, CertIndex.com Webmaster said: > > > anyone know what commentspill in users_comments does? commentlimit determines the number of > > comments to display per page, but what does commentspill do? > > > > thanks. been beating my head against this one and playing around on /. to try to figure it out > > for a while now. > > A users commentlimit is fine for light stories (stories between 100-150 > comments, I think), but for larger stories, the system needs to establish an > override for this limit (if 50 users ask for a 500 comment article and display > all 500 comments, you can figure out how badly the machine will get loaded. Do > the math for yourself and see...).... > > So commentspill is the system limit to prevent this from occurring...at least > as I've determined, as I was in the same spot as you are about a month ago. > > So commentspill takes effect when stories hit a certain number of comments and > if commentlimit > commentspill. > > Hope this explains it. > > - Cliff > > > _______________________________________________ > Slashcode-development mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-development > |