diff --git a/server/services/interfaces/clientGatewayService.ts b/server/services/interfaces/clientGatewayService.ts index 89b7a67c..922f8309 100644 --- a/server/services/interfaces/clientGatewayService.ts +++ b/server/services/interfaces/clientGatewayService.ts @@ -27,7 +27,6 @@ interface ClientGatewayServiceEvents { PROCESS_TORRENT_LIST_START: () => void; PROCESS_TORRENT_LIST_END: (torrentListSummary: TorrentListSummary) => void; PROCESS_TORRENT: (torrentProperties: TorrentProperties) => void; - PROCESS_TRANSFER_RATE_START: () => void; } abstract class ClientGatewayService extends BaseService { diff --git a/server/services/qBittorrent/clientGatewayService.ts b/server/services/qBittorrent/clientGatewayService.ts index 861a54ed..1730673a 100644 --- a/server/services/qBittorrent/clientGatewayService.ts +++ b/server/services/qBittorrent/clientGatewayService.ts @@ -289,7 +289,6 @@ class QBittorrentClientGatewayService extends ClientGatewayService { .getTransferInfo() .then(this.processClientRequestSuccess, this.processClientRequestError) .then((info) => { - this.emit('PROCESS_TRANSFER_RATE_START'); return { downRate: info.dl_info_speed, downThrottle: info.dl_rate_limit, diff --git a/server/services/rTorrent/clientGatewayService.ts b/server/services/rTorrent/clientGatewayService.ts index 8363bb4a..e8efa350 100644 --- a/server/services/rTorrent/clientGatewayService.ts +++ b/server/services/rTorrent/clientGatewayService.ts @@ -596,7 +596,6 @@ class RTorrentClientGatewayService extends ClientGatewayService { .methodCall('system.multicall', [methodCalls]) .then(this.processClientRequestSuccess, this.processClientRequestError) .then((response) => { - this.emit('PROCESS_TRANSFER_RATE_START'); return processMethodCallResponse(response, configs); }) || Promise.reject() );