|
|
@@ -312,7 +312,7 @@ class NewOrderCountingRecordService
|
|
|
|
|
|
$ttl = config('cache.expirations.forever');
|
|
|
if (!$this->isNotCurrentDate($orders[0]['date_target'], $unit)) {
|
|
|
- $ttl = config('cache.expirations.oftenChange');
|
|
|
+ $ttl = config('cache.expirations.orderCountingRecord');
|
|
|
}
|
|
|
Cache::put($key, collect($orders), $ttl);
|
|
|
}
|