Browse Source

transmission: Disable webseeding

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

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
6d9ee2ec86
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      net/transmission/Makefile
  2. +11
    -0
      net/transmission/patches/080-disable-webseeding.patch

+ 1
- 1
net/transmission/Makefile 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


+ 11
- 0
net/transmission/patches/080-disable-webseeding.patch 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);
}

Loading…
Cancel
Save