diff --git a/apps/files_sharing/lib/DeleteOrphanedSharesJob.php b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php index 2d166da2010c0..6883bfd476225 100644 --- a/apps/files_sharing/lib/DeleteOrphanedSharesJob.php +++ b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php @@ -34,18 +34,14 @@ * Delete all share entries that have no matching entries in the file cache table. */ class DeleteOrphanedSharesJob extends TimedJob { - /** - * Default interval in minutes - **/ - protected int $defaultIntervalMin = 15; - /** * sets the correct interval for this timed job */ public function __construct(ITimeFactory $time) { parent::__construct($time); - $this->interval = $this->defaultIntervalMin * 60; + $this->setInterval(24 * 60 * 60); // 1 day + $this->setTimeSensitivity(self::TIME_INSENSITIVE); } /**