Opened 11 years ago

Closed 10 years ago

Last modified 6 years ago

#2406 closed patch (Fixed)

Speed up adding multiple torrents

Reported by: Bro Owned by: Bro
Priority: minor Milestone: 2.0.0
Component: Core Version: develop
Keywords: Cc:

Description

Adding large amounts of torrents is painfully slow because the torrents.state and torrents.fastresume files are written to disk after each torrent is added.

This patch adds a new function to core which takes multiple torrents so that the state and fastresume files are only written to disk once. GTKUI add dialog uses this function.

https://github.com/bendikro/deluge/tree/develop-add-torrents

Change History (6)

comment:1 by Bro, 11 years ago

Added fix to avoid saving resume data unnecessarily. Current code seems to do one write of resume data to disk per torrent loaded on startup.

Last edited 11 years ago by Bro (previous) (diff)

comment:2 by Calum, 10 years ago

Milestone: 1.4.02.0.0

comment:4 by Bro, 10 years ago

Owner: set to Bro
Status: newassigned

comment:5 by Calum, 10 years ago

Resolution: Fixed
Status: assignedclosed

Added to develop: [2aaae7c6a1bec]

comment:6 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.