MT-Blacklist Updater 0.2 - user-contributed improvement

Edward Bateman wrote me last week to suggest an improvement to MT-Blacklist Updater.

I then realised that if large numbers of users began to use your script, then Jay’s server would be under extremely high load just around the hour of each day, and especially during specific US times.

He then went on to suggest a tiny bit of code for how to workaround this problem - it works by generating a random interval of time for the script to sleep before accessing the MT-Blacklist master blacklist changes RSS feed. Er, yes I didn’t think of this at all and all credit to Edward for pointing this out.

Go get it if you’re interested - to upgrade from 0.1, just simply replace the existing files with the current ones. Of course, you have to change the configuration settings in updateblacklist.php again, so make sure you copy them out from the old file.

Also, I haven’t upgraded MT-Blacklist since version 1.62 so it would be nice to know someone could tell me if MT-Blacklist Updater breaks in the newer versions.

3 Comments & TrackBacks ()

Paper doll icon
Ed's Blog's Gravatar

Upgrades
This morning and tomorrow morning, new MySQL servers will be installed to give even vaster performance when loading up my…

Posted by: Ed's Blog on May 21, 2004 10pm

Paper doll icon
Neil T.'s Gravatar

Up until last week I was using it with the latest version with no problems. I’m using MT3 now so I can’t use the blacklist until Jay releases a version which supports it.

Posted by: Neil T. on May 24, 2004 12am

Paper doll icon
Cheah Chu Yeow's Gravatar

Aah thanks for the feedback Neil!

Posted by: Cheah Chu Yeow on May 24, 2004 12am

You can subscribe to the RSS feed for comments on this post.

Sorry, this entry is no longer accepting comments. If you have something you really want to say, you can write me.