MT-Blacklist Updater 0.2 – user-contributed improvement

In: Blogging

21 May 2004

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 Responses to MT-Blacklist Updater 0.2 – user-contributed improvement

Avatar

Neil T.

May 24th, 2004 at 12am

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.

Avatar

Cheah Chu Yeow

May 24th, 2004 at 12am

Aah thanks for the feedback Neil!

Avatar

Ed's Blog

May 21st, 2004 at 10pm

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