We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05eb4cb commit 6c42baeCopy full SHA for 6c42bae
core/Command/TaskProcessing/Cleanup.php
@@ -46,7 +46,7 @@ protected function configure() {
46
}
47
48
protected function execute(InputInterface $input, OutputInterface $output): int {
49
- $maxAgeSeconds = $input->getArgument('maxAgeSeconds') ?? Manager::MAX_TASK_AGE_SECONDS;
+ $maxAgeSeconds = (int) $input->getArgument('maxAgeSeconds') ?? Manager::MAX_TASK_AGE_SECONDS;
50
$output->writeln('<comment>Cleanup up tasks older than ' . $maxAgeSeconds . ' seconds and the related output files</comment>');
51
52
$taskIdsToCleanup = [];
0 commit comments