1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 13:47:26 +02:00

* Hotfix for Domme.

This commit is contained in:
Christian Muehlhaeuser
2010-11-30 00:32:34 +01:00
parent 238ff28e61
commit 8fdf5b5422
2 changed files with 3 additions and 2 deletions

View File

@@ -298,7 +298,8 @@ Connection::setId( const QString& id )
void void
Connection::readyRead() Connection::readyRead()
{ {
//qDebug() << "readyRead, m_bs:" << m_bs << "bytesavail:" << m_sock->bytesAvailable(); qDebug() << "readyRead, bytesavail:" << m_sock->bytesAvailable();
if( m_msg.isNull() ) if( m_msg.isNull() )
{ {
if( m_sock->bytesAvailable() < Msg::headerSize() ) if( m_sock->bytesAvailable() < Msg::headerSize() )

View File

@@ -25,7 +25,7 @@
// close the dbsync connection after this much inactivity. // close the dbsync connection after this much inactivity.
// it's automatically reestablished as needed. // it's automatically reestablished as needed.
#define IDLE_TIMEOUT 60000 #define IDLE_TIMEOUT 600000
using namespace Tomahawk; using namespace Tomahawk;