DELUGE TORRENT MAKE NOTE TORRENT
When a torrent is updated (either by libtorrent or a plugin) it is removed from the cache to mark it as updated. Now emits TorrentTrackerStatusChangedEvent when torrent status is setĪdded status_dicts which contains all the torrents for each session. Now emits ClientDisconnectedEvent when client disconnects.It filters on owner using the new databases in deluge/include/pydblite. filtermanager.py now only filters on the owner so the client will only receive the torrents it is authorized to see. Most of the functionality of filtermanager.py has been moved to the client side ( torrentfilter.py). get_filter_tree - The filtertree is now created on the client side.Added keyword argument only_updated which makes get_torrents_status only return the torrents that have been updated since the last call.😉 PyDbLite is a separate project: Changes on the server side deluge/core/core.py
DELUGE TORRENT MAKE NOTE CODE
The code changes for the webui should work but the code should be reviewedįeedback is very appreciated.The filtering is much more efficient than the current code.This should make it possible to implement advanced filtering quite easily.The filtering functionality is implemented with PyDbLite.Much faster to change the list on the client side as it no longer has to ask the server.The rest of the filtering is performed on the client side.
This has been changed so that the server only filters on the owner to make sure only the torrents the user is allowed to fetch are returned. With thousands of torrents, the workload of filtering the torrents each time the list is sent becomes a performance bottleneck.
The filtering of the torrents has been split between the server and client.With thousands of torrents, the overhead of processing the entire torrent list to be sent and received regularly causes the major part of the CPU usage as seen by profiling. This reduces the amount of network data that needs to be transfered between the client and server greatly.Client can request to get only the torrents that were updated since last time.This branch contains the following modifications: Created 03 Aug, 2014 Pull Request #6 User Bendikro