summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index 18895ba..6ca1ad2 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -145,7 +145,10 @@ size_t add_peer_to_torrent_and_return_peers( ot_hash hash, ot_peer *peer, PROTO_
145 145
146 } else { 146 } else {
147 stats_issue_event( EVENT_RENEW, 0, OT_PEERTIME( peer_dest ) ); 147 stats_issue_event( EVENT_RENEW, 0, OT_PEERTIME( peer_dest ) );
148 148#ifdef WANT_SPOT_WOODPECKER
149 if( ( OT_PEERTIME(peer_dest) > 0 ) && ( OT_PEERTIME(peer_dest) < 20 ) )
150 stats_issue_event( EVENT_WOODPECKER, 0, (uintptr_t)peer );
151#endif
149#ifdef WANT_SYNC_LIVE 152#ifdef WANT_SYNC_LIVE
150 /* Won't live sync peers that come back too fast. Only exception: 153 /* Won't live sync peers that come back too fast. Only exception:
151 fresh "completed" reports */ 154 fresh "completed" reports */