From 8ef82e96215081f22bb085d6d49b4100b4e3e616 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 24 Nov 2019 19:01:58 -0800 Subject: [PATCH] transmission: Disable webseeding It causes 100% CPU usage in certain situations. Just disable it. Signed-off-by: Rosen Penev (cherry-picked from 6d9ee2ec86a461bbc976eaf7f97490657dc97e5c) --- net/transmission/Makefile | 2 +- net/transmission/patches/080-disable-webseeding.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/transmission/patches/080-disable-webseeding.patch diff --git a/net/transmission/Makefile b/net/transmission/Makefile index 23efd920b6..06c45f0d71 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=transmission PKG_VERSION:=2.94 -PKG_RELEASE:=6 +PKG_RELEASE:=8 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master diff --git a/net/transmission/patches/080-disable-webseeding.patch b/net/transmission/patches/080-disable-webseeding.patch new file mode 100644 index 0000000000..f95ac61600 --- /dev/null +++ b/net/transmission/patches/080-disable-webseeding.patch @@ -0,0 +1,11 @@ +--- a/libtransmission/webseed.c ++++ b/libtransmission/webseed.c +@@ -516,8 +516,6 @@ webseed_timer_func (evutil_socket_t foo UNUSED, short bar UNUSED, void * vw) + if (w->retry_tickcount) + ++w->retry_tickcount; + +- on_idle (w); +- + tr_timerAddMsec (w->timer, TR_IDLE_TIMER_MSEC); + } + -- 2.30.2