Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBenjamin Saller <bcsaller@objectrealms.net>2007-05-29 17:44:39 (GMT)
committer Benjamin Saller <bcsaller@objectrealms.net>2007-05-29 17:44:39 (GMT)
commit4b64050a7c3c4b84039da0a0ac425f9681d49920 (patch)
treeb4f4b420dcc14e8e407d12a0f2b4321a7f31ac1e /bin
parentd9758e5ba90d8d044ca80092fee40e80bc6d065b (diff)
enable indexer in datastore-service
Diffstat (limited to 'bin')
-rwxr-xr-xbin/datastore-service2
-rwxr-xr-xbin/index-service3
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/datastore-service b/bin/datastore-service
index 09aa944..40e755f 100755
--- a/bin/datastore-service
+++ b/bin/datastore-service
@@ -34,7 +34,7 @@ logger = logging.getLogger(DS_LOG_CHANNEL)
# build the datastore
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
bus = dbus.SessionBus()
-ds = DataStore(repo_dir, db_dir)
+ds = DataStore(repo_dir, db_dir, querymanager_sync_index=False)
# and run it
logger.info("Starting Datastore %s:%s" % (repo_dir, db_dir))
diff --git a/bin/index-service b/bin/index-service
index 3ec0413..af6322e 100755
--- a/bin/index-service
+++ b/bin/index-service
@@ -105,8 +105,7 @@ class IndexService(Application):
"""Respond to the datastore being stopped by shutting down
ourselves"""
self.fulltext.stop()
- sys.exit(0)
-
+ self.eventloop.quit()
if __name__ == "__main__":