[tor-commits] [flashproxy/master] Fix a timeout typo.
dcf at torproject.org
dcf at torproject.org
Fri Jan 4 05:55:55 UTC 2013
commit cab62fd4ab8e0f1168aa4e01e74abe1b26bdcc85
Author: David Fifield <david at bamsoftware.com>
Date: Thu Jan 3 21:48:02 2013 -0800
Fix a timeout typo.
It was using milliseconds rather than seconds. This only mattered in the
relatively rare case that a single proxy has its capacity of clients.
---
proxy/flashproxy.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index 8418a5d..b9e7b59 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -498,7 +498,7 @@ function FlashProxy() {
var xhr;
if (this.proxy_pairs.length >= this.max_num_proxy_pairs) {
- setTimeout(this.proxy_main.bind(this), this.facilitator_poll_interval);
+ setTimeout(this.proxy_main.bind(this), this.facilitator_poll_interval * 1000);
return;
}
More information about the tor-commits
mailing list