Skip to content

Commit

Permalink
Try increasing PHP max execution time
Browse files Browse the repository at this point in the history
  • Loading branch information
a-pasquale committed Feb 18, 2025
1 parent 4a864f2 commit b40866c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions web/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
'recaptcha_v3',
];

ini_set('max_execution_time', 60);
ini_set('max_execution_time', 360);

// Configure Redis.
if (defined(
Expand Down Expand Up @@ -163,7 +163,7 @@
}

// Block bots from faceted navigation pages.
//if (isset($_SERVER['QUERY_STRING']) && (strpos($_SERVER['QUERY_STRING'], 'f[') !== FALSE || strpos($_SERVER['QUERY_STRING'], 'f%5B') !== FALSE)) {
// if (isset($_SERVER['QUERY_STRING']) && (strpos($_SERVER['QUERY_STRING'], 'f[') !== FALSE || strpos($_SERVER['QUERY_STRING'], 'f%5B') !== FALSE)) {
//
// // Block all faceted navigation for now
// header("HTTP/1.1 403 Forbidden");
Expand All @@ -185,9 +185,7 @@
// }
// }
// }
//}


// }
// Below configuration uses a redis backend and will limit each
// crawler / bot (identified by User-Agent string) to a maximum of 300
// requests every 600 seconds.
Expand Down

0 comments on commit b40866c

Please sign in to comment.