[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo
From:       Matt Rogers <mattr () kde ! org>
Date:       2009-02-08 21:29:16
Message-ID: 1234128556.203372.6948.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 923513 by mattr:

Only send a ping once an hour.

Otherwise, yahoo will boot us. :(

 M  +2 -1      client.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/client.cpp #923512:923513
@@ -270,7 +270,8 @@
 			changeStatus( d->statusOnConnect, d->statusMessageOnConnect, Yahoo::StatusTypeAway );
 		d->statusMessageOnConnect.clear();
 		setStatus( d->statusOnConnect );
-		m_pingTimer->start( 60 * 1000 );
+		/* only send a ping every hour. we get disconnected otherwise */
+		m_pingTimer->start( 60 * 60 * 1000 );
 		initTasks();
 	} else {
 		d->active = false;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic