mirror of
git://erdgeist.org/opentracker
synced 2025-04-04 04:17:15 +08:00
set interval to default value from original tracker
This commit is contained in:
parent
41c307c3b0
commit
cde935b5bd
@ -252,7 +252,7 @@ size_t return_peers_for_torrent( ot_torrent *torrent, unsigned int amount, char
|
|||||||
}
|
}
|
||||||
if( peer_count < amount ) amount = peer_count;
|
if( peer_count < amount ) amount = peer_count;
|
||||||
|
|
||||||
r += sprintf( r, "d8:completei%ie10:incompletei%ie8:intervali600e5:peers%i:", seed_count, peer_count-seed_count, 6*amount );
|
r += sprintf( r, "d8:completei%ie10:incompletei%ie8:intervali1800e5:peers%i:", seed_count, peer_count-seed_count, 6*amount );
|
||||||
if( amount ) {
|
if( amount ) {
|
||||||
unsigned int pool_offset, pool_index = 0;;
|
unsigned int pool_offset, pool_index = 0;;
|
||||||
unsigned int shifted_pc = peer_count;
|
unsigned int shifted_pc = peer_count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user