mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user