Limit to 50.

This commit is contained in:
James Cole
2020-03-22 06:59:46 +01:00
parent a97d7058ff
commit 367f225f38

View File

@@ -127,7 +127,7 @@ class SubmitTelemetryData implements ShouldQueue
*/
private function collectTelemetry(): Collection
{
$collection = Telemetry::whereNull('submitted')->get();
$collection = Telemetry::whereNull('submitted')->take(50)->get();
Log::debug(sprintf('Found %d entry(s) to submit', $collection->count()));
return $collection;