feat: verify SLD before adding connector

This commit is contained in:
Maël Gangloff
2024-08-24 18:22:15 +02:00
parent afd6a3810e
commit e3f1229c74
3 changed files with 17 additions and 18 deletions

View File

@@ -69,7 +69,7 @@ class StatisticsController extends AbstractController
$value = $getItemFunction();
$item
->set($value)
->expiresAfter(24 * 60 * 60);
->expiresAfter(new \DateInterval('PT6H'));
$this->pool->save($item);
return $value;