Skip to content
Snippets Groups Projects
Commit 658050a9 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] sync: could not sync on localhost

parent 4a91912f
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ export class P2PSyncDownloader implements ISyncDownloader {
node.tta = 1;
node.nbSuccess = 0;
if (node.host.match(/^(localhost|192|127)/)) {
node.excluded = true
node.tta = this.MAX_DELAY_PER_DOWNLOAD
}
return node;
})())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment