Skip to content
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

Add DashMap implementation for torrent repository and set as used one #581

Closed

Conversation

mickvandijke
Copy link
Member

@mickvandijke mickvandijke commented Jan 4, 2024

DashMap does not support ordering of keys that we use right now for our scrape responses, since DashMap works using multiple inner HashMaps (sharded).

When I implement the torrent repository limit, I plan on adding a new HashMap that keeps track of the storage priority of torrents. We could also use the ordering of that HashMap for our torrents and scrape responses.

@mickvandijke
Copy link
Member Author

I will include #567 as a part of this PR as well to fix any related failing tests. Especially for the ordering of torrents in the API response.

@cgbosse cgbosse added this to the v3.0.0 milestone Jan 12, 2024
@josecelano josecelano added the Needs Rebase Base Branch has Incompatibilities label Feb 22, 2024
@josecelano
Copy link
Member

I guess this was superseded by #645, right @mickvandijke?

@josecelano josecelano closed this Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Rebase Base Branch has Incompatibilities
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants