mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-09-20 15:26:25 +08:00
Add a FIXME to remeber that there is a minor bug to fix
This commit is contained in:
parent
0b39f44ec3
commit
d6f5b8f4ee
|
@ -256,7 +256,7 @@ public class Announcer implements Runnable, AnnounceResponseListener {
|
|||
event = AnnounceRequestMessage.RequestEvent.NONE;
|
||||
} catch (final AnnounceException ae) {
|
||||
logger.warn("Exception in announce for torrent {}", torrent.getTorrent().getName(), ae);
|
||||
|
||||
// FIXME : In rare cases, the FIRST announce won't pass, and it will result in the torrent trying to announce each 5 seconds (because default interval is 5). Maybe we should add an error counter, and after 5 successive errors, move this shit to archived.
|
||||
try {
|
||||
// TODO : may need a better way to handle exception here, like "retry twice on fail then move to next"
|
||||
this.moveToNextTrackerClient();
|
||||
|
|
Loading…
Reference in a new issue