mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
try SPN2 downloadThroughput limit
This commit is contained in:
parent
03594413f9
commit
8481dfac9c
@ -362,6 +362,11 @@ class Browser:
|
||||
self.send_to_chrome(method='ServiceWorker.enable')
|
||||
self.send_to_chrome(method='ServiceWorker.setForceUpdateOnPageLoad')
|
||||
|
||||
# traffic shaping used by SPN2 to aid warcprox resilience
|
||||
# 4294967296 bytes/second = 4GB/second
|
||||
self.send_to_chrome(method='Network.emulateNetworkConditions',
|
||||
params={'downloadThroughput': 4294967296})
|
||||
|
||||
# disable google analytics and amp analytics
|
||||
self.send_to_chrome(
|
||||
method='Network.setBlockedURLs',
|
||||
|
Loading…
x
Reference in New Issue
Block a user