diff --git a/app/Repositories/HitAndRunRepository.php b/app/Repositories/HitAndRunRepository.php index 22feb3b6..462867c2 100644 --- a/app/Repositories/HitAndRunRepository.php +++ b/app/Repositories/HitAndRunRepository.php @@ -106,9 +106,11 @@ class HitAndRunRepository extends BaseRepository } //unreached - $result = $this->unreached($row); - if ($result) { - $successCounts++; + if ($row->added->addHours($setting['inspect_time'])->lte(Carbon::now())) { + $result = $this->unreached($row); + if ($result) { + $successCounts++; + } } } $page++;