Skip to content

TARDA-2840 Refactor DBMDataRef for thread-safe annotation access and …#329

Merged
jfitie merged 1 commit intomasterfrom
staging
Aug 27, 2025
Merged

TARDA-2840 Refactor DBMDataRef for thread-safe annotation access and …#329
jfitie merged 1 commit intomasterfrom
staging

Conversation

@jfitie
Copy link
Copy Markdown
Member

@jfitie jfitie commented Aug 27, 2025

…memory-efficient size limiting (#327) (#328)

  • Thread-safe access to _annotations in DBMDataRef using lock

  • Limit _annotations dictionary size to 10,000 by removing entries when exceeded

  • Refactor to use constant for maximum annotations size

  • Refactor _annotations to use SortedDictionary for FIFO eviction instead of random removal

  • Limit line length correctly

  • Update copyright year, change maximum number of annotations


…memory-efficient size limiting (#327) (#328)

* Thread-safe access to _annotations in DBMDataRef using lock



* Limit _annotations dictionary size to 10,000 by removing entries when exceeded



* Refactor to use constant for maximum annotations size



* Refactor _annotations to use SortedDictionary for FIFO eviction instead of random removal



* Limit line length correctly



* Update copyright year, change maximum number of annotations



---------

Signed-off-by: Johan Fitié <jfitie@gmail.com>
@jfitie jfitie merged commit 16693c5 into master Aug 27, 2025
1 check passed
@jfitie jfitie deleted the staging branch August 29, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant