Skip to content

Overhaul core Tracker: extract torrents context (part 1) #1201

Description

@josecelano

Parent issue: #1181

Remove field torrents from core::Tracker extracting new services for each responsibility:

  • InMemoryTorrentRepository: all the info about torrents in memory.
  • DatabasePersistentTorrentRepository: the torrent's data that is persisted (only number of downloads)
  • TorrentsManager: other tasks like load torrents' data from database, ...
  • ... there could be other services after the refactor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions