[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk/services/backupsync/service
From: Vishesh Handa <handa.vish () gmail ! com>
Date: 2010-12-02 18:01:31
Message-ID: 20101202180131.5A1D5AC8A4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1202911 by vhanda:
Disable the DiffGenerator. It's not worth the extra memory consumption. Specially \
since we don't have syncing.
M +8 -4 diffgenerator.cpp
--- trunk/KDE/kdebase/runtime/nepomuk/services/backupsync/service/diffgenerator.cpp \
#1202910:1202911 @@ -46,19 +46,23 @@
{
m_model = Nepomuk::ResourceManager::instance()->mainModel();
- connect( m_model, SIGNAL(statementAdded(Soprano::Statement)),
+ // vhanda:
+ // Disabled cause this hogs up too many resources. Specially when loads
+ // of statements are being added/removed to Nepomuk. It's not worth it right
+ // now. Specially since this is only required for syncing.
+ /*connect( m_model, SIGNAL(statementAdded(Soprano::Statement)),
this, SLOT(statementAdded(Soprano::Statement)), Qt::QueuedConnection );
connect( m_model, SIGNAL(statementRemoved(Soprano::Statement)),
this, SLOT(statementRemoved(Soprano::Statement)), Qt::QueuedConnection \
);
- start();
+ start();*/
}
Nepomuk::DiffGenerator::~DiffGenerator()
{
- stop();
- wait();
+ //stop();
+ //wait();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic