summaryrefslogtreecommitdiff
path: root/p2pvr/daemon
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2013-12-24 18:24:21 +0000
committerrandomdan <randomdan@localhost>2013-12-24 18:24:21 +0000
commit5f66e80db77def7a49731195ba9cb7cece0d47b7 (patch)
tree3367ffe2bdf073e9119cc272685c74851a4dedbf /p2pvr/daemon
parentPatched to work with threaded DB connection interface (diff)
downloadp2pvr-5f66e80db77def7a49731195ba9cb7cece0d47b7.tar.bz2
p2pvr-5f66e80db77def7a49731195ba9cb7cece0d47b7.tar.xz
p2pvr-5f66e80db77def7a49731195ba9cb7cece0d47b7.zip
Execeute updates of network, services and events on a schedule and on start up
Includes fix for correctly handling threaded DB connection commits
Diffstat (limited to 'p2pvr/daemon')
-rw-r--r--p2pvr/daemon/daemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2pvr/daemon/daemon.cpp b/p2pvr/daemon/daemon.cpp
index 8597a25..6f0d326 100644
--- a/p2pvr/daemon/daemon.cpp
+++ b/p2pvr/daemon/daemon.cpp
@@ -29,7 +29,7 @@ class P2PvrDaemon : public Daemon {
auto adapter = ic->createObjectAdapterWithEndpoints(Adapter, Endpoint);
adapter->add(new LocalDevices(adapter, timer), ic->stringToIdentity("Devices"));
adapter->add(new GlobalDevices(), ic->stringToIdentity("GlobalDevices"));
- adapter->add(new Maintenance(), ic->stringToIdentity("Maintenance"));
+ adapter->add(new Maintenance(adapter, timer), ic->stringToIdentity("Maintenance"));
adapter->add(new SI(), ic->stringToIdentity("SI"));
adapter->add(new Schedules(), ic->stringToIdentity("Schedules"));
adapter->activate();