diff options
| author | Daniil Baturin <daniil@baturin.org> | 2026-01-06 15:39:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-06 15:39:00 +0000 |
| commit | 4d1ab7270b61e350df4c5e50dcc94941aedf75ff (patch) | |
| tree | ae7da511c1b869a7c06e7327ba06a719cdad6604 /src | |
| parent | c51dacd5152dd4575e52edf90e881845a24c48fc (diff) | |
| download | vyatta-cfg-4d1ab7270b61e350df4c5e50dcc94941aedf75ff.tar.gz vyatta-cfg-4d1ab7270b61e350df4c5e50dcc94941aedf75ff.zip | |
Improve the file size constant limit
Diffstat (limited to 'src')
| -rw-r--r-- | src/cstore/unionfs/cstore-unionfs.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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. */ |
