From: Rosen Penev Date: Mon, 25 Nov 2019 03:01:58 +0000 (-0800) Subject: transmission: Disable webseeding X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=6d9ee2ec86a461bbc976eaf7f97490657dc97e5c;p=openwrt-packages.git transmission: Disable webseeding It causes 100% CPU usage in certain situations. Just disable it. Signed-off-by: Rosen Penev --- diff --git a/net/transmission/Makefile b/net/transmission/Makefile index b78db281e..06c45f0d7 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:=7 +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 000000000..f95ac6160 --- /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); + } +