Merge lp://staging/~mhr3/unity-lens-files/cancel-timer into lp://staging/~unity-team/unity-lens-files/libunity7-compatible

Proposed by Michal Hruby
Status: Merged
Approved by: Paweł Stołowski
Approved revision: 257
Merged at revision: 258
Proposed branch: lp://staging/~mhr3/unity-lens-files/cancel-timer
Merge into: lp://staging/~unity-team/unity-lens-files/libunity7-compatible
Diff against target: 40 lines (+16/-1)
2 files modified
src/Makefile.am (+2/-0)
src/daemon.vala (+14/-1)
To merge this branch: bzr merge lp://staging/~mhr3/unity-lens-files/cancel-timer
Reviewer Review Type Date Requested Status
Paweł Stołowski (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+161463@code.staging.launchpad.net

Commit message

Add support to cancel timer to save a few milliseconds

Description of the change

Add support to cancel timer to save a few milliseconds.

Currently new search can't run until the old one finishes, and since we used a non-cancellable timer in the files lens, we were adding up to ~500ms of latency.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Paweł Stołowski (stolowski) wrote :

Works fine.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: