Opened 10 years ago

Closed 9 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 Changed 10 years ago by bro

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 10 years ago by bro (previous) (diff)

comment:2 Changed 10 years ago by Cas

  • Milestone changed from 1.4.0 to 2.0.0

comment:4 Changed 10 years ago by bro

  • Owner set to bro
  • Status changed from new to assigned

comment:5 Changed 9 years ago by Cas

  • Resolution set to Fixed
  • Status changed from assigned to closed

Added to develop: [2aaae7c6a1bec]

comment:6 Changed 6 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.