mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 13:23:04 +01:00
Formatting
This commit is contained in:
@@ -43,12 +43,14 @@ class InfluxDBVersion1Wrapper implements InfluxDBWrapperInterface
|
||||
public function createDatabase(string $database): bool
|
||||
{
|
||||
try {
|
||||
$this->database->create(new RetentionPolicy(
|
||||
$this->database->create(
|
||||
new RetentionPolicy(
|
||||
'speedtest_retention_policy',
|
||||
config('services.influxdb.retention'),
|
||||
1,
|
||||
true
|
||||
));
|
||||
)
|
||||
);
|
||||
|
||||
return true;
|
||||
} catch (Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user