argument('limit'); $options = []; if (isset($limit) && is_numeric($limit) && $limit > 0) { $options = [0 => (int) $limit]; } else { $options = [0 => false]; } try { (new Forking)->processWorkType('backfill', $options); return self::SUCCESS; } catch (\Exception $e) { Log::error($e->getTraceAsString()); $this->error($e->getMessage()); return self::FAILURE; } } }