From ae1f15e8b8d1b40c5c482d81064b240d34191bea Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 5 Apr 2024 09:07:38 +0200 Subject: [PATCH] 1.7.09 Formatage --- core/class/jsondb/JsonDb.class.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/class/jsondb/JsonDb.class.php b/core/class/jsondb/JsonDb.class.php index 0bfa5a7..81fc83a 100644 --- a/core/class/jsondb/JsonDb.class.php +++ b/core/class/jsondb/JsonDb.class.php @@ -18,9 +18,9 @@ class JsonDb extends \Prowebcraft\Dot protected $db = ''; protected $data = null; protected $config = []; -// Tentative d'encodage après échec + // Tentative d'encodage après échec const MAX_JSON_ENCODE_ATTEMPTS = 5; -// Tentative d'écriture après échec + // Tentative d'écriture après échec const MAX_FILE_WRITE_ATTEMPTS = 5; // Délais entre deux tentaives const RETRY_DELAY_SECONDS = 1; @@ -197,8 +197,4 @@ class JsonDb extends \Prowebcraft\Dot return true; } - - - - } \ No newline at end of file