From 733d286b8991ffa6c0b13c20255c5806913e869b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 28 Nov 2003 20:03:00 +0000 Subject: - Made it possible to auto-throttle blocks. That is, blocks can be configured to be disabled when under excessive load. Patch by Jeremy. --- update.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index acedf0054..6b28a512c 100644 --- a/update.php +++ b/update.php @@ -60,7 +60,8 @@ $mysql_updates = array( "2003-10-20" => "update_68", "2003-10-22" => "update_69", "2003-10-27" => "update_70", - "2003-11-17" => "update_71" + "2003-11-17" => "update_71", + "2003-11-27" => "update_72" ); function update_32() { @@ -552,6 +553,10 @@ function update_71() { update_sql("ALTER TABLE {system} ADD bootstrap int(2)"); } +function update_72() { + update_sql("ALTER TABLE {blocks} ADD throttle tinyint(1) NOT NULL DEFAULT '0'"); +} + /* ** System functions */ -- cgit v1.2.3