[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Fix a timeout typo.
commit cab62fd4ab8e0f1168aa4e01e74abe1b26bdcc85
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits