[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [akonadi] server/src: Set objectName of each Akonadi connection to session ID
From: Dan_Vrátil <dvratil () redhat ! com>
Date: 2014-02-28 18:30:42
Message-ID: E1WJSCo-0004Dp-Ne () scm ! kde ! org
[Download RAW message or body]
Git commit 1ccf9e2e7c8a83394aa7f1d4186b0cf695901082 by Dan Vrátil.
Committed on 27/02/2014 at 16:26.
Pushed by dvratil into branch 'master'.
Set objectName of each Akonadi connection to session ID
This makes it easier to identify which session the thread handles.
M +1 -0 server/src/connection.cpp
http://commits.kde.org/akonadi/1ccf9e2e7c8a83394aa7f1d4186b0cf695901082
diff --git a/server/src/connection.cpp b/server/src/connection.cpp
index 082331d..423afea 100644
--- a/server/src/connection.cpp
+++ b/server/src/connection.cpp
@@ -294,6 +294,7 @@ void Connection::setSessionId( const QByteArray &id )
m_streamParser->setTracerIdentifier( m_identifier );
m_sessionId = id;
+ setObjectName( QString::fromLatin1( id ) );
storageBackend()->setSessionId( id );
storageBackend()->notificationCollector()->setSessionId( id );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic