lp:~phablet-team/history-service/single_instance_using_lock_file
- Get this branch:
- bzr branch lp:~phablet-team/history-service/single_instance_using_lock_file
Branch merges
- Tiago Salem Herrmann (community): Approve
-
Diff: 47 lines (+16/-5)2 files modifiedcmake/modules/GenerateTest.cmake (+1/-0)
daemon/main.cpp (+15/-5)
Branch information
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. - 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.
- 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:history-service