Merge "Bump the maximum customization script size to 64kB"

This commit is contained in:
Zuul
2025-08-11 19:44:10 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,8 @@
(function () {
'use strict';
var MAX_SCRIPT_SIZE = 16 * 1024;
/* 64kB, adjusted for Base64 encoding. */
var MAX_SCRIPT_SIZE = 64 * 1024 * 0.75;
angular
.module('horizon.dashboard.project.workflow.launch-instance')

View File

@@ -38,7 +38,7 @@
});
it('sets the user data max script size', function() {
expect(ctrl.MAX_SCRIPT_SIZE).toBe(16 * 1024);
expect(ctrl.MAX_SCRIPT_SIZE).toBe(64 * 1024 * 0.75);
});
});