diff --git a/src/Collector.php b/src/Collector.php index c704e9a..d60a8df 100644 --- a/src/Collector.php +++ b/src/Collector.php @@ -72,7 +72,7 @@ public function batch() if(!config('beacon.enabled') || empty(config('beacon.api_key'))) return; - Cache::put(config('beacon.cache_key') . $this->metric->type.microtime(true), $this->metric); + Cache::put(config('beacon.cache_key') . $this->metric->type.microtime(true), $this->metric, 1800); } }