Merge pull request #12176 from backstage/rugvip/smaller

scaffolder: reduce max file size for dry-run content
This commit is contained in:
Patrik Oldsberg
2022-06-21 10:19:26 +02:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
@@ -29,8 +29,8 @@ import React, {
import { scaffolderApiRef } from '../../api';
import { ScaffolderDryRunResponse } from '../../types';
const MAX_CONTENT_SIZE = 256 * 1024;
const CHUNK_SIZE = 0x8000;
const MAX_CONTENT_SIZE = 64 * 1024;
const CHUNK_SIZE = 32 * 1024;
interface DryRunOptions {
templateContent: string;