[tor-commits] [metrics-lib/master] Don't forget to set the request timeout value.
karsten at torproject.org
karsten at torproject.org
Mon Dec 12 13:43:28 UTC 2011
commit b656101ecc0a772e0ca74b63a9f477b668182eb5
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Mon Dec 12 14:42:46 2011 +0100
Don't forget to set the request timeout value.
---
.../impl/RelayDescriptorDownloaderImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/org/torproject/descriptor/impl/RelayDescriptorDownloaderImpl.java b/src/org/torproject/descriptor/impl/RelayDescriptorDownloaderImpl.java
index 6c56164..a1e1473 100755
--- a/src/org/torproject/descriptor/impl/RelayDescriptorDownloaderImpl.java
+++ b/src/org/torproject/descriptor/impl/RelayDescriptorDownloaderImpl.java
@@ -260,12 +260,12 @@ public class RelayDescriptorDownloaderImpl
this.globalTimerThread.start();
for (DirectoryDownloader directoryMirror :
this.directoryMirrors.values()) {
- directoryMirror.downloadCoordinator = this;
+ directoryMirror.setRequestTimeout(this.requestTimeoutMillis);
new Thread(directoryMirror).start();
}
for (DirectoryDownloader directoryAuthority :
this.directoryAuthorities.values()) {
- directoryAuthority.downloadCoordinator = this;
+ directoryAuthority.setRequestTimeout(this.requestTimeoutMillis);
new Thread(directoryAuthority).start();
}
}
More information about the tor-commits
mailing list