Closed
Bug 583847
Opened 14 years ago
Closed 14 years ago
Weave should be using createAsyncStatement instead of createStatement
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
People
(Reporter: sdwilsh, Assigned: philikon)
References
Details
(Keywords: perf)
Attachments
(1 file)
3.28 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
Weave should be using createAsyncStatement instead of createStatement whenever possible (like whenever you only call executeAsync with the statement). This will not acquire any SQLite or storage locks on the calling thread (in this case, the main thread). Less locking means less chances of hanging.
Assignee | ||
Comment 1•14 years ago
|
||
According to sdwilsh createAsyncStatement is only available in Gecko 2.0, though, we'll have to keep the old way on Firefox 3.5/3.6.
Component: General → Sync
QA Contact: general → sync
Assignee | ||
Comment 2•14 years ago
|
||
Use createAsyncStatement everywhere. Converted frecency query in BookmarksStore to async as well.
Assignee: nobody → philipp
Attachment #463928 -
Flags: review?(mconnor)
Updated•14 years ago
|
Attachment #463928 -
Flags: review?(mconnor) → review+
Assignee | ||
Comment 3•14 years ago
|
||
1.4.x: http://hg.mozilla.org/services/fx-sync/rev/57fa3a74fc3a
default: http://hg.mozilla.org/services/fx-sync/rev/7e8b1f7852a9
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•