mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #4194 from overleaf/jpa-lower-request-limit
[misc] serviceWorker: lower the limit of sub requests from 8 to 4 GitOrigin-RevId: 0b78e3a9f7e055eeb16a59c219090dd9c6a1153a
This commit is contained in:
parent
25d3231ce7
commit
a41f0afad2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ const CLEAR_CACHE_REQUEST_MATCHER = /^\/project\/[0-9a-f]{24}\/output$/
|
|||
const COMPILE_REQUEST_MATCHER = /^\/project\/[0-9a-f]{24}\/compile$/
|
||||
const PDF_REQUEST_MATCHER = /^\/project\/[0-9a-f]{24}\/.*\/output.pdf$/
|
||||
const PDF_JS_CHUNK_SIZE = 128 * 1024
|
||||
const MAX_SUBREQUEST_COUNT = 8
|
||||
const MAX_SUBREQUEST_COUNT = 4
|
||||
const MAX_SUBREQUEST_BYTES = 4 * PDF_JS_CHUNK_SIZE
|
||||
const INCREMENTAL_CACHE_SIZE = 1000
|
||||
|
||||
|
|
Loading…
Reference in a new issue