eliashaeussler / cache-warmup

🔥 PHP library to warm up caches of URLs located in XML sitemaps

Home Page:https://cache-warmup.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] sometime the script stop without any bug or progress

onlinebizsoft opened this issue · comments

PHP version

7.4

Package version

Latest

Application

Composer

Operating system

Linux

Current behavior

will stop at some points
222795/222801 [===========================>] 99% -- 23 failures

Expected behavior

Finish successfully

Steps to reproduce

I believe it happens when we use multiple threads option, I was running with 100 threads.

Additional context

The problem doesn't happen all time but quite often, number of URL left are always small (just a few - less than number of threads). I believe when running multiple threads, something is wrong with calculation for some last URLs.....
(there is no output in the log file except logs for failures)