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 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paweł Stołowski (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
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.
PASSED: Continuous integration, rev:257 jenkins. qa.ubuntu. com/job/ unity-team- unity-lens- files-libunity7 -compatible- ci/5/ jenkins. qa.ubuntu. com/job/ unity-team- unity-lens- files-libunity7 -compatible- raring- amd64-ci/ 5
http://
Executed test runs:
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ unity-team- unity-lens- files-libunity7 -compatible- ci/5/rebuild
http://