From 1343fa761ce5b2ece79b64041463b86486b81534 Mon Sep 17 00:00:00 2001 From: Andreas Heine <56362817+AndreasHeine@users.noreply.github.com> Date: Tue, 13 Aug 2024 12:24:21 +0200 Subject: [PATCH] set interval to 50 as default --- asyncua/common/subscription.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncua/common/subscription.py b/asyncua/common/subscription.py index 2b239cc8e..469d09a4b 100644 --- a/asyncua/common/subscription.py +++ b/asyncua/common/subscription.py @@ -268,7 +268,7 @@ async def subscribe_data_change( attr: ua.AttributeIds = ua.AttributeIds.Value, queuesize: int = 0, monitoring=ua.MonitoringMode.Reporting, - sampling_interval: ua.Duration = 0.0 + sampling_interval: ua.Duration = 50.0 ) -> Union[int, List[Union[int, ua.StatusCode]]]: """ Subscribe to data change events of one or multiple nodes.