feat: review comments
This commit is contained in:
parent
8fa19a7a9d
commit
e28c4feb97
|
@ -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;
|
||||
|
||||
|
|
|
@ -238,7 +238,6 @@ class DeletesV1
|
|||
$projects = $this->getConsoleDB()->getCollection([
|
||||
'limit' => $limit,
|
||||
'offset' => $count,
|
||||
'orderField' => '$id',
|
||||
'orderType' => 'ASC',
|
||||
'orderCast' => 'string',
|
||||
'filters' => [
|
||||
|
|
Loading…
Reference in a new issue