Skip to content

Commit

Permalink
Update default max execution time hint for MySQL for itemlist views
Browse files Browse the repository at this point in the history
  • Loading branch information
fevangelou committed Oct 17, 2024
1 parent 4bbaeb9 commit 91426f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_k2/models/itemlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function getData($ordering = null)
*/
$nullDate = $db->getNullDate();

$query = "/* Frontend / K2 / Items */ SELECT /*+ MAX_EXECUTION_TIME(30000) */ SQL_CALC_FOUND_ROWS i.*,";
$query = "/* Frontend / K2 / Items */ SELECT /*+ MAX_EXECUTION_TIME(60000) */ SQL_CALC_FOUND_ROWS i.*,";

if ($task == 'search') {
$query = "/* Frontend / K2 / Items */ SELECT /*+ MAX_EXECUTION_TIME(90000) */ SQL_CALC_FOUND_ROWS i.*,";
Expand Down

0 comments on commit 91426f2

Please sign in to comment.