mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
cut some logging
This commit is contained in:
parent
039e50ecff
commit
4493f9d9cd
1 changed files with 2 additions and 2 deletions
|
@ -553,7 +553,7 @@ public class RelayService extends XWJIService
|
||||||
PacketData outData;
|
PacketData outData;
|
||||||
try {
|
try {
|
||||||
long ts = s_packetsSentUDP.size() > 0 ? 10 : 1000;
|
long ts = s_packetsSentUDP.size() > 0 ? 10 : 1000;
|
||||||
Log.d( TAG, "blocking %dms on poll()", ts );
|
// Log.d( TAG, "blocking %dms on poll()", ts );
|
||||||
for ( outData = s_queue.poll( ts, TimeUnit.MILLISECONDS );
|
for ( outData = s_queue.poll( ts, TimeUnit.MILLISECONDS );
|
||||||
null != outData;
|
null != outData;
|
||||||
outData = s_queue.poll() ) { // doesn't block
|
outData = s_queue.poll() ) { // doesn't block
|
||||||
|
@ -868,7 +868,7 @@ public class RelayService extends XWJIService
|
||||||
if ( !skipAck ) {
|
if ( !skipAck ) {
|
||||||
sendAckIf( header );
|
sendAckIf( header );
|
||||||
}
|
}
|
||||||
Log.d( TAG, "%s.gotPacket(): cmd=%s", this, header.m_cmd.toString() );
|
// Log.d( TAG, "%s.gotPacket(): cmd=%s", this, header.m_cmd.toString() );
|
||||||
switch ( header.m_cmd ) {
|
switch ( header.m_cmd ) {
|
||||||
case XWPDEV_UNAVAIL:
|
case XWPDEV_UNAVAIL:
|
||||||
int unavail = dis.readInt();
|
int unavail = dis.readInt();
|
||||||
|
|
Loading…
Reference in a new issue