mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-11 17:29:07 +02:00
Raise the wasm size guard to 62MB for the browser VNC viewer
This commit is contained in:
@@ -66,7 +66,10 @@ jobs:
|
||||
|
||||
echo "Size: ${SIZE} bytes (${SIZE_MB} MB)"
|
||||
|
||||
if [ ${SIZE} -gt 62914560 ]; then
|
||||
echo "Wasm binary size (${SIZE_MB}MB) exceeds 60MB limit!"
|
||||
# 62 MiB. The guard is here to catch the binary ballooning, not to
|
||||
# hold a particular number: raise it when a feature legitimately
|
||||
# needs the bytes, and investigate when it moves without one.
|
||||
if [ ${SIZE} -gt 65011712 ]; then
|
||||
echo "Wasm binary size (${SIZE_MB}MB) exceeds 62MB limit!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user