|
|
|
@ -106,7 +106,7 @@ void livesync_tell( ot_hash * const info_hash, const ot_peer * const peer, const
@@ -106,7 +106,7 @@ void livesync_tell( ot_hash * const info_hash, const ot_peer * const peer, const
|
|
|
|
|
stuck when there's not enough traffic to fill udp packets fast |
|
|
|
|
enough */ |
|
|
|
|
void livesync_ticker( ) { |
|
|
|
|
if( ( g_now - livesync_lastpacket_time > LIVESYNC_MAXDELAY) && |
|
|
|
|
if( ( g_now - livesync_lastpacket_time > LIVESYNC_MAXDELAY) && |
|
|
|
|
( livesync_outbuffer_pos > livesync_outbuffer_start + sizeof( g_tracker_id ) ) ) |
|
|
|
|
livesync_issuepacket(); |
|
|
|
|
} |
|
|
|
|