Summary: | Increase responsiveness timeout for network process | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sihui Liu <sihui_liu> | ||||||||
Component: | New Bugs | Assignee: | Sihui Liu <sihui_liu> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | cdumez, ggaren, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Sihui Liu
2021-10-29 14:32:25 PDT
Created attachment 442864 [details]
Patch
Comment on attachment 442864 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442864&action=review > Source/WebKit/UIProcess/AuxiliaryProcessProxy.h:47 > + AuxiliaryProcessProxy(bool alwaysRunsAtBackgroundPriority, Seconds); Why are you adding a second constructor instead of extending the existing one? > Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp:204 > + : AuxiliaryProcessProxy(anyProcessPoolAlwaysRunsAtBackgroundPriority(), 6_s) Please use a global static constant with a nice name for 6_s. Created attachment 442870 [details]
Patch
To help resolve web process crash issue rdar://84745326. (In reply to Chris Dumez from comment #2) > Comment on attachment 442864 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=442864&action=review > > > Source/WebKit/UIProcess/AuxiliaryProcessProxy.h:47 > > + AuxiliaryProcessProxy(bool alwaysRunsAtBackgroundPriority, Seconds); > > Why are you adding a second constructor instead of extending the existing > one? Removed. > > > Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp:204 > > + : AuxiliaryProcessProxy(anyProcessPoolAlwaysRunsAtBackgroundPriority(), 6_s) > > Please use a global static constant with a nice name for 6_s. Sure. Comment on attachment 442870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442870&action=review r=me assuming the bots are happy > Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp:89 > +static const Seconds networkProcessResponsivenessTimeout = 6_s; constexpr Created attachment 442987 [details]
Patch for landing
Committed r285115 (243756@main): <https://commits.webkit.org/243756@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442987 [details]. |