Manual:$wgSqlTimeout/de

Details
Timeout to kill the DB thread.