mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +02:00
Time out long running database list
This commit is contained in:
@@ -42,6 +42,13 @@ class Adminer {
|
||||
return get_databases($flush);
|
||||
}
|
||||
|
||||
/** Specify limit for waiting on some slow queries like DB list
|
||||
* @return float number of seconds
|
||||
*/
|
||||
function queryTimeout() {
|
||||
return 5;
|
||||
}
|
||||
|
||||
/** Headers to send before HTML output
|
||||
* @return bool true to send security headers
|
||||
*/
|
||||
|
Reference in New Issue
Block a user