Skip to content

Commit

Permalink
Run sitemap crawler with timeout and in the background
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlemke committed Jul 10, 2024
1 parent 1d1abfc commit dade955
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion root-files/opt/flownative/lib/beach.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ beach_run_custom_startup() {
# @return void
#
beach_run_sitemap_crawler() {
"${SITEMAP_CRAWLER_BASE_PATH}/sitemap-crawler.php"
# Run the sitemap-crawler in a background process and make sure that it does not run
# longer than 10 minutes:
timeout 600 "${SITEMAP_CRAWLER_BASE_PATH}/sitemap-crawler.php" &
}

# ---------------------------------------------------------------------------------------
Expand Down

0 comments on commit dade955

Please sign in to comment.