diff --git a/crates/librqbit/webui/src/rqbit-web.tsx b/crates/librqbit/webui/src/rqbit-web.tsx index 04e11b5..ac87ac0 100644 --- a/crates/librqbit/webui/src/rqbit-web.tsx +++ b/crates/librqbit/webui/src/rqbit-web.tsx @@ -314,16 +314,12 @@ const Torrent: React.FC<{ useEffect(() => customSetInterval((async () => { const errorInterval = 10000; const liveInterval = 1000; - const finishedInterval = 10000; const nonLiveInterval = 10000; return API.getTorrentStats(torrent.id).then((stats) => { updateStatsResponse(stats); return stats; }).then((stats) => { - if (stats.finished) { - return finishedInterval; - } if (stats.state == STATE_INITIALIZING || stats.state == STATE_LIVE) { return liveInterval; } diff --git a/desktop/src-tauri/src/main.rs b/desktop/src-tauri/src/main.rs index 862678e..9cb1621 100644 --- a/desktop/src-tauri/src/main.rs +++ b/desktop/src-tauri/src/main.rs @@ -163,7 +163,7 @@ async fn start_session() { "http api", error_span!("http_api"), librqbit::http_api::HttpApi::new(session, Some(rust_log_reload_tx)) - .make_http_api_and_run("127.0.0.1:3000".parse().unwrap(), false), + .make_http_api_and_run("127.0.0.1:3030".parse().unwrap(), false), ); tauri::Builder::default()