Skip to content

Commit

Permalink
Fixes #32118: increase MODEL_SYNC_LIMIT from 5MB to 50MB
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Aug 25, 2017
1 parent 3927d04 commit 9093187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/common/model/textModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface ITextModelCreationData {
}

export class TextModel implements editorCommon.ITextModel {
private static MODEL_SYNC_LIMIT = 5 * 1024 * 1024; // 5 MB
private static MODEL_SYNC_LIMIT = 50 * 1024 * 1024; // 50 MB
private static MODEL_TOKENIZATION_LIMIT = 20 * 1024 * 1024; // 20 MB
private static MANY_MANY_LINES = 300 * 1000; // 300K lines

Expand Down

0 comments on commit 9093187

Please sign in to comment.