The daemon should run scripts parallelly

Bug #1082313 reported by Rafał Cieślak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Daemon
Triaged
Medium
Rafał Cieślak

Bug Description

For 0.4 it is likely that we'll have scripts that take a long time (minute, few minutes), but they use little resources (mostly waiting for server response over and over again). That means the current scriptrunned will stop running them until this one is finished, not only it lenghtens overall time of running scripts, desktop accomplishments requiring more time to be recognised by the accomplishments system.
This bug represents the need of ability to run scripts in parallel. Ideally there would be ~3 scripts running at the same time. This will *not* use any more resources (including CPU usage) then we currently do, because since all calls are deferred, there is always a single thread executing daemon's code. Managing the scripts to run will be very easy, as we already use a scheduling queue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.