diff --git a/optimizely/config_manager.py b/optimizely/config_manager.py index 247f5ce5..0e4008b7 100644 --- a/optimizely/config_manager.py +++ b/optimizely/config_manager.py @@ -323,6 +323,11 @@ def set_update_interval(self, update_interval: Optional[int | float]) -> None: ) update_interval = enums.ConfigManager.DEFAULT_UPDATE_INTERVAL + if update_interval < 30: + self.logger.warning( + 'Polling intervals below 30 seconds are not recommended.' + ) + self.update_interval = update_interval def set_blocking_timeout(self, blocking_timeout: Optional[int | float]) -> None: