Quote:
Originally posted by Tim Wheatley
Code:
if ($loadavg[0]<1 && mt_rand(1,5)=='44'){
|
Tim, have you been getting any emails with the above settings? PHP will produce a random number between 1 and 5. This won't ever equal 44.
If you want more frequent updates, change the 44 to 1, then change the 5 to something higher. A limit of 5 would mean the views would be update once every 5 pageviews -- not much of a savings IMHO.