зеркало из https://github.com/mozilla/gecko-dev.git
Don't lock up mysqld if a lot of addcheckin processes pile up.
This commit is contained in:
Родитель
410c63285a
Коммит
1e283d69ce
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче