From 7dede65ab2dd7f2655d460fdcff5cd42fa3a841d Mon Sep 17 00:00:00 2001 From: themylogin Date: Thu, 16 Jan 2025 13:29:16 +0100 Subject: [PATCH] Fix `MSG_SIZE_EXTENDED_METHODS` (#15407) --- src/middlewared/middlewared/utils/limits.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/middlewared/middlewared/utils/limits.py b/src/middlewared/middlewared/utils/limits.py index 30555b5e7e00d..d1254b19ab9bc 100644 --- a/src/middlewared/middlewared/utils/limits.py +++ b/src/middlewared/middlewared/utils/limits.py @@ -8,9 +8,9 @@ # WARNING: below methods must _not_ be audited. c.f. comment in parse_message() below -MSG_SIZE_EXTENDED_METHODS = frozenset( +MSG_SIZE_EXTENDED_METHODS = frozenset({ 'filesystem.file_receive', -) +}) class MsgSizeLimit(enum.IntEnum):