Bug 173879 - [iOS] Avoid taking / releasing process assertions too quickly due to database activity
Summary: [iOS] Avoid taking / releasing process assertions too quickly due to database...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-06-27 09:47 PDT by Chris Dumez
Modified: 2017-06-27 14:49 PDT (History)
7 users (show)

See Also:


Attachments
Patch (6.20 KB, patch)
2017-06-27 09:50 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2017-06-27 09:47:21 PDT
Avoid taking / releasing process assertions too quickly due to database activity.
Comment 1 Chris Dumez 2017-06-27 09:47:35 PDT
<rdar://problem/32412701>
Comment 2 Chris Dumez 2017-06-27 09:50:11 PDT
Created attachment 313922 [details]
Patch
Comment 3 Antti Koivisto 2017-06-27 14:15:25 PDT
Comment on attachment 313922 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=313922&action=review

r=me

> Source/WebCore/platform/ios/WebSQLiteDatabaseTrackerClient.mm:44
> +const double hysteresisDuration = 2; // 2 seconds.

This should switch to Seconds at some point.
Comment 4 WebKit Commit Bot 2017-06-27 14:49:08 PDT
Comment on attachment 313922 [details]
Patch

Clearing flags on attachment: 313922

Committed r218846: <http://trac.webkit.org/changeset/218846>
Comment 5 WebKit Commit Bot 2017-06-27 14:49:09 PDT
All reviewed patches have been landed.  Closing bug.