-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul core Tracker: extract torrents context (part 2) #1203
Labels
Comments
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 24, 2025
For the InMemoryTorrentRepository.
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 24, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 24, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 24, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 24, 2025
josecelano
added a commit
that referenced
this issue
Jan 24, 2025
046578d refactor: [#1203] use directly the InMemoryTorrentRepository (Jose Celano) 0f1b2fb refactor: [#1203] use InMemoryTorrentRepository directly in core tracker tests (Jose Celano) 2ac68f6 refactor: [#1203] move test (Jose Celano) 94673d6 refactor: [#1203] inline methods in core tracker (Jose Celano) Pull request description: This is part 2 of the refactor initiated [here](#1202). The core `Tracker` after this refactor: ```rust pub struct Tracker { /// The tracker configuration. config: Core, /// The service to check is a torrent is whitelisted. whitelist_authorization: Arc<whitelist::authorization::Authorization>, /// The in-memory torrents repository. in_memory_torrent_repository: Arc<InMemoryTorrentRepository>, /// The persistent torrents repository. db_torrent_repository: Arc<DatabasePersistentTorrentRepository>, } ``` ACKs for top commit: josecelano: ACK 046578d Tree-SHA512: db32af87815375ca570b81392c392dae0b602d12f54543c413d34f6a8dcb69f7e2f56a56e5d552a271d7fe2e4f751277d9f6e204caee297a2e3333f6a7b77e24
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Parent issue: #1181
This continues the work stared here.
The text was updated successfully, but these errors were encountered: