FIX: Increase FinalDestination MAX_REQUEST_SIZE_BYTES (#15998)
The default of 1Mb was preventing some valid Onebox requests from successfully completing. Increasing this to 5Mb should reduce the number of unexpected failures.
This commit is contained in:
parent
32087be531
commit
cf545be338
|
@ -9,7 +9,7 @@ require 'url_helper'
|
|||
# Determine the final endpoint for a Web URI, following redirects
|
||||
class FinalDestination
|
||||
MAX_REQUEST_TIME_SECONDS = 10
|
||||
MAX_REQUEST_SIZE_BYTES = 1_048_576 # 1024 * 1024
|
||||
MAX_REQUEST_SIZE_BYTES = 5_242_880 # 1024 * 1024 * 5
|
||||
|
||||
def self.clear_https_cache!(domain)
|
||||
key = redis_https_key(domain)
|
||||
|
|
Loading…
Reference in New Issue