قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-21 22:47:43 +00:00

* Catch and log errors for scheduled tasks * Added retry on exception mechanism for scheduled tasks * Replace error code with custom exception * Fix/workaround for SchedulerTest mock breaking retry list option loading * Log warning instead of info if a task has failed three times * Added basic tests, minor code improvements * Test fix * Fix for test * Added integration test to check that only tasks that throw exceptions are scheduled for retry
10 خطوط
114 B
PHP
10 خطوط
114 B
PHP
<?php
|
|
|
|
namespace Piwik\Scheduler;
|
|
|
|
use Piwik\Exception\Exception;
|
|
|
|
class RetryableException extends Exception
|
|
{
|
|
}
|