diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-28 20:03:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-28 20:03:00 +0000 |
commit | 733d286b8991ffa6c0b13c20255c5806913e869b (patch) | |
tree | 40b93497e8c26d4b71599f78e4025197696ddf0b /update.php | |
parent | fa5aca1ef79e318793fe9cc13befabe8b01e3b36 (diff) | |
download | brdo-733d286b8991ffa6c0b13c20255c5806913e869b.tar.gz brdo-733d286b8991ffa6c0b13c20255c5806913e869b.tar.bz2 |
- Made it possible to auto-throttle blocks. That is, blocks can be
configured to be disabled when under excessive load. Patch by Jeremy.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 7 |
1 files changed, 6 insertions, 1 deletions
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 */ |