Skip to content

Commit e313fed

Browse files
authored
fix: allow 400kb .readalong XML file, for a particular project (#551)
1 parent 4d572ad commit e313fed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/studio-web/src/app/upload/upload.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ export class UploadComponent implements OnInit {
6767
// Max plain text file size: 40KB is OK but takes around 15-20s on Heroku
6868
private maxTxtSizeKB = 40;
6969
// Max .readalong XML text size: text * 5 is a rough heuristic; the XML is much bloated from the text.
70-
private maxRasSizeKB = 200;
70+
// Later bumped to 400 to accommodate a real life use case.
71+
private maxRasSizeKB = 400;
7172
private currentToast: number;
7273
@ViewChild("textFileUpload")
7374
private textFileUpload: ElementRef<HTMLFormElement>;

0 commit comments

Comments
 (0)