[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:07:28 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=8eecfdc

The following commit has been merged in the master branch:
commit 8eecfdcce1d3d060b78ecfe52055b8ea976a9fa9
Author: Vishesh Handa <handa.vish at gmail.com>
Date:   Mon Feb 20 17:57:05 2012 +0530

    Delete the QueryServiceClients once they done listing
    
    We do not want to continuously monitor for new results. The query service
    monitors for new results by running the query every time a the repository
    changes.
    
    Since our queries contain a large number of results, it results in virtuoso
    getting taxed quite a bit. That is something we do not want.
    
    It we want to monitor for the creation the new contacts, we will have to use
    the ResourceWatcher.
---
 kpeople/nepomuk-feeder/nepomuk-storage.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kpeople/nepomuk-feeder/nepomuk-storage.cpp b/kpeople/nepomuk-feeder/nepomuk-storage.cpp
index d97fa83..cff6b5c 100644
--- a/kpeople/nepomuk-feeder/nepomuk-storage.cpp
+++ b/kpeople/nepomuk-feeder/nepomuk-storage.cpp
@@ -411,6 +411,8 @@ void NepomukStorage::init()
         connect(client,
                 SIGNAL(finishedListing()),
                 SLOT(onAccountsQueryFinishedListing()));
+        connect(client, SIGNAL(finishedListing()),
+                client, SLOT(deleteLater()));
         kDebug() << "Me Query : " << query.toSparqlQuery();
         client->query(query);
     }
@@ -513,6 +515,8 @@ void NepomukStorage::onAccountsQueryFinishedListing()
         connect(client,
                 SIGNAL(finishedListing()),
                 SLOT(onContactsQueryFinishedListing()));
+        connect(client, SIGNAL(finishedListing()),
+                client, SLOT(deleteLater()));
         client->query(query);
     }
 }

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list