diff options
author | Salvatore Martire <4652631+salmart-dev@users.noreply.github.com> | 2025-06-06 16:13:20 +0200 |
---|---|---|
committer | Salvatore Martire <4652631+salmart-dev@users.noreply.github.com> | 2025-06-23 11:55:12 +0200 |
commit | 8bebe194a37ab5907518ee7307f8156fcac1548b (patch) | |
tree | 911268efa3f1fde772fa1ca50484fe35e326dcf4 | |
parent | f2ee6e282652209b931df19d304e89ca3cb1457b (diff) | |
download | nextcloud-server-fix/49584-background-worker-remove-interval.tar.gz nextcloud-server-fix/49584-background-worker-remove-interval.zip |
fix(occ): remove unused interval optionfix/49584-background-worker-remove-interval
The implementation for the --interval option in occ background-job:worker has been removed a
year ago. This commit cleans up the option itself to avoid confusion.
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
-rw-r--r-- | core/Command/Background/JobWorker.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/Command/Background/JobWorker.php b/core/Command/Background/JobWorker.php index 8289021887b..ca55a203f14 100644 --- a/core/Command/Background/JobWorker.php +++ b/core/Command/Background/JobWorker.php @@ -46,13 +46,6 @@ class JobWorker extends JobBase { 'Only execute the worker once (as a regular cron execution would do it)' ) ->addOption( - 'interval', - 'i', - InputOption::VALUE_OPTIONAL, - 'Interval in seconds in which the worker should repeat already processed jobs (set to 0 for no repeat)', - 5 - ) - ->addOption( 'stop_after', 't', InputOption::VALUE_OPTIONAL, |