lp:~phablet-team/history-service/single_instance_using_lock_file

Created by Gustavo Pichorim Boiko and last modified
Get this branch:
bzr branch lp:~phablet-team/history-service/single_instance_using_lock_file
Members of Ubuntu Phablet Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu Phablet Team
Project:
history-service
Status:
Merged

Recent revisions

277. By Gustavo Pichorim Boiko

History-daemon is not a system service, so store a lock somewhere in the user's home
directory to allow running one instance per user.

276. By Tiago Salem Herrmann

merge parent branch

275. By Tiago Salem Herrmann

merge parent branch

274. By Gustavo Pichorim Boiko

Make sure tests use different lock files so that they can run simultaneously

273. By Gustavo Pichorim Boiko

Use a QLockFile to ensure there will be only one instance of the daemon per user.
As we now delay the registration on dbus, sometimes we ended up having two
instances of the daemon running (because of dbus activation). This change makes
sure that won't happen.

272. By Gustavo Pichorim Boiko

When threads are removed, make sure the events models get refreshed accordingly.

271. By Gustavo Pichorim Boiko

Update tests

270. By Gustavo Pichorim Boiko

Optimize thread removal by deleting the events using a sqlite trigger instead
of manually removing and notifying them.
Also make the thread and event removal asynchronous calls on dbus level as the
result will be notified back to us as signals.

269. By Gustavo Pichorim Boiko

Stop using the telepathy pending message status to mark messages as read as
that causes performance problems when dealing with a large number of messages.

268. By Tiago Salem Herrmann

fix build

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:history-service
This branch contains Public information 
Everyone can see this information.