File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ function handleCopyFrom (logger) {
102
102
const sql = req . query . q ;
103
103
const { userDbParams, user, dbRemainingQuota } = res . locals ;
104
104
const isGzip = req . get ( 'content-encoding' ) === 'gzip' ;
105
- const COPY_FROM_MAX_POST_SIZE = global . settings . copy_from_max_post_size || 1.99 * 1024 * 1024 * 1024 ; // 1.99 GB
105
+ const COPY_FROM_MAX_POST_SIZE = global . settings . copy_from_max_post_size || 2 * 1024 * 1024 * 1024 ; // 2 GB
106
106
const COPY_FROM_MAX_POST_SIZE_PRETTY = global . settings . copy_from_max_post_size_pretty || '2 GB' ;
107
107
108
108
const streamCopy = new StreamCopy ( sql , userDbParams ) ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ module.exports.finished_jobs_ttl_in_seconds = 2 * 3600; // 2 hours
36
36
module.exports.batch_query_timeout = 12 * 3600 * 1000; // 12 hours in milliseconds
37
37
module.exports.batch_log_filename = 'logs/batch-queries.log';
38
38
module.exports.copy_timeout = "'5h'";
39
- module.exports.copy_from_max_post_size = 1.99 * 1024 * 1024 * 1024 // 1.99 GB;
39
+ module.exports.copy_from_max_post_size = 2 * 1024 * 1024 * 1024 // 2 GB;
40
40
module.exports.copy_from_max_post_size_pretty = '2 GB';
41
41
// Max number of queued jobs a user can have at a given time
42
42
module.exports.batch_max_queued_jobs = 64;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ module.exports.finished_jobs_ttl_in_seconds = 2 * 3600; // 2 hours
37
37
module.exports.batch_query_timeout = 12 * 3600 * 1000; // 12 hours in milliseconds
38
38
module.exports.batch_log_filename = 'logs/batch-queries.log';
39
39
module.exports.copy_timeout = "'5h'";
40
- module.exports.copy_from_max_post_size = 1.99 * 1024 * 1024 * 1024 // 1.99 GB;
40
+ module.exports.copy_from_max_post_size = 2 * 1024 * 1024 * 1024 // 2 GB;
41
41
module.exports.copy_from_max_post_size_pretty = '2 GB';
42
42
// Max number of queued jobs a user can have at a given time
43
43
module.exports.batch_max_queued_jobs = 64;
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ module.exports.db_batch_port = '5432';
36
36
module.exports.finished_jobs_ttl_in_seconds = 2 * 3600; // 2 hours
37
37
module.exports.batch_query_timeout = 12 * 3600 * 1000; // 12 hours in milliseconds
38
38
module.exports.batch_log_filename = 'logs/batch-queries.log';
39
+ module.exports.copy_timeout = "'5h'";
40
+ module.exports.copy_from_max_post_size = 2 * 1024 * 1024 * 1024 // 2 GB;
41
+ module.exports.copy_from_max_post_size_pretty = '2 GB';
39
42
// Max number of queued jobs a user can have at a given time
40
43
module.exports.batch_max_queued_jobs = 64;
41
44
// Capacity strategy to use.
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ module.exports.finished_jobs_ttl_in_seconds = 2 * 3600; // 2 hours
34
34
module.exports.batch_query_timeout = 5 * 1000; // 5 seconds in milliseconds
35
35
module.exports.batch_log_filename = 'logs/batch-queries.log';
36
36
module.exports.copy_timeout = "'5h'";
37
- module.exports.copy_from_max_post_size = 1.99 * 1024 * 1024 * 1024 // 1.99 GB;
37
+ module.exports.copy_from_max_post_size = 2 * 1024 * 1024 * 1024 // 2 GB;
38
38
module.exports.copy_from_max_post_size_pretty = '2 GB';
39
39
// Max number of queued jobs a user can have at a given time
40
40
module.exports.batch_max_queued_jobs = 64;
You can’t perform that action at this time.
0 commit comments