From dfd5cd4206f8eb946aebb6e93e858cec20468d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez?= Date: Wed, 5 Nov 2025 23:38:38 +0100 Subject: [PATCH] Fix max message length to 4000 characters Adjust max message length to 4000 for SQL Server compatibility. --- server/src/uds/core/managers/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/uds/core/managers/notifications.py b/server/src/uds/core/managers/notifications.py index 65e65b30e..f4ce492f2 100644 --- a/server/src/uds/core/managers/notifications.py +++ b/server/src/uds/core/managers/notifications.py @@ -96,7 +96,7 @@ def notify( message = message % args except Exception: message = message + ' ' + str(args) + ' (format error)' - message = message[:4096] # Max length of message + message = message[:4000] # Max length of message, fixed to ensure it also supports sqlserver # Store the notification on local persistent storage # Will be processed by UDS backend try: