Skip to content

Overhaul stats: Refactor code related to metrics persistence #1541

@josecelano

Description

@josecelano

Relates to: #1539

I will rename some types and methods. For example:

  • DatabasePersistentTorrentRepository to DatabaseDownloadsMetricRepository.
  • PersistentTorrent to NumberOfDownloads (I might introduce a new type for this).

I started using the PersistentTorrent words because I thought we would persist more information about the torrent in the database. In the end, it has been used only to persist torrent metrics (only the number of downloads). I will refactor the core to align it better with the current use.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions