Repository navigation
0.5.0
Retry-After and the retry.* backoff are honoured by the yii2-queue job, which re-pushes the rejected URLs itself.
Migration: SubmitUrlsJob no longer throws on 429/5xx, so the retry settings of the queue (attempts, ttr
of the driver) do not limit them any more; set retry.max_attempts and the retry.* delays in the component
options instead. Nothing else changes for a 403 (still logged, no retry).
Changed
-
Queue\SubmitUrlsJobre-pushes retryable failures instead of throwing. After a 429, 5xx or network failure the
job pushes a newSubmitUrlsJobwith the rejected URLs, the sameid,attempt + 1and the delay of the core's
Retry\RetryPolicybuilt fromretry.*(Retry-Afterfirst), then ends successfully; atretry.max_attemptsit
logsgiving up on N URL(s) of job <id>at error and ends. New public propertyattempt(1 from the dispatcher).
canRetry()keeps its previous behaviour for exceptions (RetryableSubmissionExceptionwithinmaxAttempts), the
job itself no longer throws it. The sync driver ignores the delay: the attempts run back-to-back in onerun();
indexnow/checksays so. docs/queue.md. -
Internal refactor, no API change: the
Adapter\ServicesBuilderdescription of the graph and thechecklines
moved fromIndexNowComponenttoWiring, the resolution of the override properties toReferences. The
component keeps every public method and property; only relevant if you extend the component's internals.
Fixed
php yii help indexnow/<action>describes the options with the texts and defaults of the core's
Console\Definitions(andSitemap\Console\Definitions), the same the bundle and artisan print:
IndexNowController::getActionOptionsHelp()reads them from the definitions instead of the property docblocks of
the controller.sitemapwithoutindexnowkit/sitemapkeeps Yii's help.