1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00

feat: review comments

This commit is contained in:
Christy Jacob 2020-12-30 00:50:08 +05:30
parent 8fa19a7a9d
commit e28c4feb97
2 changed files with 1 additions and 2 deletions

View file

@ -50,7 +50,7 @@ $cli
->desc('Schedules maintenance tasks and publishes them to resque')
->action(function () {
// # of days in seconds (1 day = 86400s)
$interval = App::getEnv('_APP_MAINTENANCE_INTERVAL', '') + 0;
$interval = (int) App::getEnv('_APP_MAINTENANCE_INTERVAL', '86400');
//Convert Seconds to microseconds
$intervalMicroseconds = $interval * 1000000;

View file

@ -238,7 +238,6 @@ class DeletesV1
$projects = $this->getConsoleDB()->getCollection([
'limit' => $limit,
'offset' => $count,
'orderField' => '$id',
'orderType' => 'ASC',
'orderCast' => 'string',
'filters' => [