Skip to content

Commit

Permalink
fix(Quota): set job time insensitive and lower interval
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Jul 28, 2023
1 parent a15ccbe commit 33dd4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/BackgroundJob/QuotaJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public function __construct(ITimeFactory $time,
$this->jobList = $jobList;
$this->mailManager = $mailManager;

$this->setInterval(24 * 60 * 60);
$this->setTimeSensitivity(self::TIME_SENSITIVE);
$this->setInterval(60 * 60 * 24 * 7);
$this->setTimeSensitivity(self::TIME_INSENSITIVE);
$this->notificationManager = $notificationManager;
}

Expand Down

0 comments on commit 33dd4ea

Please sign in to comment.