transmission: Disable webseeding

It causes 100% CPU usage in certain situations. Just disable it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-11-24 19:01:58 -08:00
parent 50e352a179
commit 6d9ee2ec86
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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);
}