Skip to content

Commit 434501d

Browse files
committed
Allow bigger sequence queries
It was limited to 10MB previously, but the limit is arbitrary and depends on the underlying machine capabilities. Bump this up. People with self-hosted instances can add additional restrictions to payload sizes at the nginx (or similar) level.
1 parent 57b06fe commit 434501d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

public/js/dnd.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { Component } from 'react';
22

3-
/**
3+
/**
44
* Drag n drop widget.
55
*/
66
export class DnD extends Component {
@@ -74,7 +74,7 @@ export class DnD extends Component {
7474
}
7575

7676
var file = files[0];
77-
if (file.size > 10 * 1048576) {
77+
if (file.size > 250 * 1048576) {
7878
dndError('dnd-large-file');
7979
return;
8080
}
@@ -141,7 +141,7 @@ export class DnD extends Component {
141141
style={{ display: 'none' }}>
142142
<div
143143
className="col-md-6 col-md-offset-3">
144-
Too big a file. Can only do less than 10 MB. &gt;_&lt;
144+
Too big a file. Can only do less than 250 MB. &gt;_&lt;
145145
</div>
146146
</div>
147147

0 commit comments

Comments
 (0)