Commit af694312 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Ported fix from TRUNK.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/branches@4490 b35dd754-fafc-0310-a699-88a17e54d16e
parent 468c0347
......@@ -55,8 +55,6 @@ public class ProxyConnectionManager {
private String className;
private ProxyTracker proxyTracker;
public ProxyConnectionManager(FileTransferManager manager) {
String cacheName = "File Transfer";
connectionMap = new Cache<String, ProxyTransfer>(cacheName, -1, 1000 * 60 * 10);
......@@ -65,7 +63,7 @@ public class ProxyConnectionManager {
"org.jivesoftware.wildfire.filetransfer.spi.DefaultProxyTransfer");
transferManager = manager;
this.proxyTracker = new ProxyTracker();
StatisticsManager.getInstance().addStatistic(proxyTransferRate, new ProxyTracker());
}
/*
......@@ -124,7 +122,6 @@ public class ProxyConnectionManager {
}
});
proxyPort = port;
StatisticsManager.getInstance().addStatistic(proxyTransferRate, proxyTracker);
}
public int getProxyPort() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment