Fixes bug in core.get_torrents_status where diff was always False
Fixes bug introduced in 5cd86aa5bcbd246f4ed6b4bed026cd72045304a3 where the diff argument passed to torrentmanager.torrents_status_update is always False instead of the value passed into get_torrents_status. This causes the sessionproxy not to function properly which in turn increases CPU usage in the UIs.
This commit is contained in:
parent
e183e2ff04
commit
2a3eb7b70c
@ -453,7 +453,7 @@ class Core(component.Component):
|
||||
"""
|
||||
torrent_ids = self.filtermanager.filter_torrent_ids(filter_dict)
|
||||
status_dict = {}.fromkeys(torrent_ids)
|
||||
d = self.torrentmanager.torrents_status_update(torrent_ids, keys, diff=False)
|
||||
d = self.torrentmanager.torrents_status_update(torrent_ids, keys, diff=diff)
|
||||
|
||||
def add_plugin_fields(args):
|
||||
status_dict, plugin_keys = args
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user