Behavior in flight mode is too slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Thumbnailer |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With the phone in flight mode, I drop two songs into the Music directory (with a cold cache). Both songs are tagged correctly, but do not include artwork.
When starting the music app, I see this in the log:
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
It takes us a full 10 seconds to realize that the network is down, and that is repeatedly for each request (as shown by the download time stamps above (labelled "d:").
We need to
1) Figure out a way to realize quickly that the network is down.
2) If the network is down, remember that fact for at least 30 seconds or so and, during that time, fail requests immediately.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- James Henstridge: Approve
-
Diff: 154 lines (+72/-10)2 files modifiedsrc/service/dbusinterface.cpp (+1/-1)
src/ubuntuserverdownloader.cpp (+71/-9)
Changed in thumbnailer: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:thumbnailer/devel at revision 240, scheduled for release in thumbnailer, milestone Unknown