scaffolder: reduce max file size for dry-run content
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
---
|
||||
|
||||
The max content size for dry-run files has been reduced from 256k to 64k.
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user