Skip to content
Snippets Groups Projects

Issue #3364958: Stages should be destroyed in the background, during cron runs

Merged Issue #3364958: Stages should be destroyed in the background, during cron runs
1 unresolved thread
1 unresolved thread
Compare and Show latest version
9 files
+ 86
94
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -5,9 +5,9 @@ declare(strict_types = 1);
namespace Drupal\automatic_updates_extensions;
use Drupal\Component\Datetime\TimeInterface;
use Drupal\Core\Queue\QueueFactory;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TempStore\SharedTempStoreFactory;
use Drupal\package_manager\Cleaner;
use Drupal\package_manager\ComposerInspector;
use Drupal\package_manager\FailureMarker;
use Drupal\package_manager\LegacyVersionUtility;
@@ -41,8 +41,8 @@ class ExtensionUpdateStage extends StageBase {
* The stager service.
* @param \PhpTuf\ComposerStager\API\Core\CommitterInterface $committer
* The committer service.
* @param \Drupal\package_manager\Cleaner $cleaner
* The cleaner service.
* @param \Drupal\Core\Queue\QueueFactory $queueFactory
* The queue factory.
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher
* The event dispatcher service.
* @param \Drupal\Core\TempStore\SharedTempStoreFactory $tempStoreFactory
@@ -60,7 +60,7 @@ class ExtensionUpdateStage extends StageBase {
BeginnerInterface $beginner,
StagerInterface $stager,
CommitterInterface $committer,
Cleaner $cleaner,
QueueFactory $queueFactory,
EventDispatcherInterface $eventDispatcher,
SharedTempStoreFactory $tempStoreFactory,
TimeInterface $time,
Loading