}
private void reconfigure() {
if (peer == null)
return;
final TorrentPeerTrafficControl peerTraffic = peer.getTrafficControl();
long readLimit = peerTraffic.getDownloadSpeedLimit();
long writeLimit = peerTraffic.getUploadSpeedLimit();
if (readLimit != this.readLimit || writeLimit != this.writeLimit) {
this.writeLimit = writeLimit;
this.readLimit = readLimit;
configure(writeLimit, readLimit);
}