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.
2 parents 980df1a + d878263 commit 37f858aCopy full SHA for 37f858a
apps/files_sharing/lib/DeleteOrphanedSharesJob.php
@@ -31,20 +31,14 @@
31
* Delete all share entries that have no matching entries in the file cache table.
32
*/
33
class DeleteOrphanedSharesJob extends TimedJob {
34
- /**
35
- * Default interval in minutes
36
- *
37
- * @var int $defaultIntervalMin
38
- **/
39
- protected $defaultIntervalMin = 15;
40
-
41
/**
42
* sets the correct interval for this timed job
43
44
public function __construct(ITimeFactory $time) {
45
parent::__construct($time);
46
47
- $this->interval = $this->defaultIntervalMin * 60;
+ $this->setInterval(24 * 60 * 60); // 1 day
+ $this->setTimeSensitivity(self::TIME_INSENSITIVE);
48
}
49
50
0 commit comments