mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
* Hotfix for Domme.
This commit is contained in:
@@ -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() )
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user