Summary: | [WK2] WebProcesses should not wait 60 seconds to close in multi-process mode | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
Component: | WebKit2 | Assignee: | Alexey Proskuryakov <ap> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | darin | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Alexey Proskuryakov
2012-08-31 15:44:21 PDT
Created attachment 161786 [details]
proposed patch
Comment on attachment 161786 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=161786&action=review r=me assuming you fix the bool/double thing > Source/WebKit2/Shared/Plugins/PluginProcessCreationParameters.h:53 > + bool terminationTimeout; This needs to be double, right? > Source/WebKit2/UIProcess/WebContext.cpp:89 > +static const double sharedSecondaryProcessShutdownTimeout = 60; Add a comment about why 60 seconds is a good value? > Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp:50 > +static const double shutdownTimeout = 15; Add a comment about why 15 seconds is a good value? > Add a comment about why 60 seconds is a good value?
That's just moved code, I have no insight into how these values were chosen originally, or why they are different.
Committed <http://trac.webkit.org/changeset/127334>. Great catch with the bool! |