From 1e283d69ce15d6d6f3310cbc3f426979e6362b64 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" Date: Mon, 7 Feb 2000 23:48:17 +0000 Subject: [PATCH] Don't lock up mysqld if a lot of addcheckin processes pile up. --- webtools/bonsai/addcheckin.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webtools/bonsai/addcheckin.pl b/webtools/bonsai/addcheckin.pl index 67fbdc2eff85..2435e8d11c28 100755 --- a/webtools/bonsai/addcheckin.pl +++ b/webtools/bonsai/addcheckin.pl @@ -130,6 +130,10 @@ LINE: ConnectToDatabase(); AddToDatabase($appendjunk, $plainlog); + DisconnectFromDatabase(); # Minimize time connected to the DB, and + # only do it while Lock()'d. That way, + # zillions of addcheckin processes can't + # lock up mysqld. @treestocheck = @::TreeList; } Unlock();