mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
[misc] config: add headroom for JSON serialization in maxUpdateSize
This commit is contained in:
parent
af53d3b603
commit
69569e3571
1 changed files with 3 additions and 2 deletions
|
@ -54,8 +54,9 @@ settings =
|
|||
|
||||
# combine
|
||||
# max_doc_length (2mb see above) * 2 (delete + insert)
|
||||
# max_ranges_size (3mb see MAX_RANGES_SIZE in doc-updater)
|
||||
maxUpdateSize: parseInt(process.env['MAX_UPDATE_SIZE']) or 7 * 1024 * 1024
|
||||
# max_ranges_size (3mb see MAX_RANGES_SIZE in document-updater)
|
||||
# overhead for JSON serialization
|
||||
maxUpdateSize: parseInt(process.env['MAX_UPDATE_SIZE']) or 7 * 1024 * 1024 + 64 * 1024
|
||||
|
||||
shutdownDrainTimeWindow: process.env['SHUTDOWN_DRAIN_TIME_WINDOW'] or 9
|
||||
|
||||
|
|
Loading…
Reference in a new issue