display configured batch size in form
@ -155,7 +155,7 @@ class SettingsForm extends ConfigFormBase {
'#description' => $this->t('
<p>Set how many files will be processed at once when performing a batch / cron job</p>
'),
'#default_value' => 100,
'#default_value' => $config->get(static::BATCH_SIZE) ?: 100,
],
];
@ -4,8 +4,8 @@ namespace Drupal\dgi_fixity\Plugin\QueueWorker;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\Core\Queue\QueueWorkerBase;
use Drupal\dgi_fixity\FixityCheckServiceInterface;
use Drupal\dgi_fixity\FixityCheckInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**