From 0422d3878e58a291d22452f473bb61d92b45b707 Mon Sep 17 00:00:00 2001 From: Sabinus52 Date: Mon, 17 Jan 2022 15:33:18 +0100 Subject: [PATCH] =?UTF-8?q?Augmentation=20du=20delai=20de=20cache=20de=20l?= =?UTF-8?q?a=20d=C3=A9couverte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 +++++ src/Request/DiscoveryRequest.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 527eb18..f6206f3 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +### Version 2.0.1 - 17/01/2022 + +- Increase cache delay for discovery + + ### Version 2.0.0 - 19/02/2021 Quelques changements majeurs ([voir la release note](RELEASE-2.md)) : diff --git a/src/Request/DiscoveryRequest.php b/src/Request/DiscoveryRequest.php index 6c343f6..16a3ba1 100755 --- a/src/Request/DiscoveryRequest.php +++ b/src/Request/DiscoveryRequest.php @@ -25,7 +25,7 @@ class DiscoveryRequest extends Request implements RequestInterface /** * Délai entre 2 requêtes de découverte (restriction Tuya) */ - const CACHE_DELAY = 600; + const CACHE_DELAY = 900; /** * Fichier du cache de la découverte