امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
The current logic for the
PHP:
Read more
xf:run-jobs command may in some circumstances see the task never stop - or at least run for longer than the server cron period.PHP:
کد:
do
{
$jobManager->runQueue($manualOnly, $maxRunTime);
// keep the memory limit down on long running jobs
$app->em()->clearEntityCache();
// IF WE HAVE MORE JOBS IN THE QUEUE, KEEP EXECUTING
// REGARDLESS OF HOW LONG WE'VE ALREADY BEEN...
