mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-27 05:51:56 +00:00
Some notes.
This commit is contained in:
@@ -79,7 +79,6 @@ class SubmitTelemetryData implements ShouldQueue
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$body = '{}';
|
|
||||||
$json = $this->parseJson($telemetry);
|
$json = $this->parseJson($telemetry);
|
||||||
try {
|
try {
|
||||||
$body = json_encode($json, JSON_THROW_ON_ERROR, 512);
|
$body = json_encode($json, JSON_THROW_ON_ERROR, 512);
|
||||||
|
|||||||
@@ -93,6 +93,9 @@ class TelemetryCronjob extends AbstractCronjob
|
|||||||
$job->setDate($this->date);
|
$job->setDate($this->date);
|
||||||
$job->setForce($this->force);
|
$job->setForce($this->force);
|
||||||
$job->handle();
|
$job->handle();
|
||||||
|
|
||||||
|
// TODO remove old, submitted telemetry data.
|
||||||
|
|
||||||
app('fireflyconfig')->set('last_tm_job', (int) $this->date->format('U'));
|
app('fireflyconfig')->set('last_tm_job', (int) $this->date->format('U'));
|
||||||
Log::info('Done with telemetry cron job task.');
|
Log::info('Done with telemetry cron job task.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user