From 4d1ab7270b61e350df4c5e50dcc94941aedf75ff Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 6 Jan 2026 15:39:00 +0000 Subject: Improve the file size constant limit --- src/cstore/unionfs/cstore-unionfs.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp index 1c64c9a..15d797a 100644 --- a/src/cstore/unionfs/cstore-unionfs.hpp +++ b/src/cstore/unionfs/cstore-unionfs.hpp @@ -91,7 +91,10 @@ private: /* max size for a file. * currently this includes value file and comment file. */ - /* XXX: The value of 2^20 is arbitrarily chosen to accommodate configs + /* The limit for file size is mostly relevant for node.val files + of multi-value nodes such as firewall groups. + + XXX: The value of 2^20 is arbitrarily chosen to accommodate configs seen in real life. May need to be raised further is larger configs turn out to exist. */ -- cgit v1.2.3