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

#20 Change Map to thread-safe implementation #25

Merged
merged 1 commit into from
Jan 22, 2024
Merged

#20 Change Map to thread-safe implementation #25

merged 1 commit into from
Jan 22, 2024

Conversation

IlyaLisov
Copy link
Owner

@IlyaLisov IlyaLisov commented Jan 22, 2024

close #20


PR-Codex overview

This PR focuses on making the TokenStorageImpl class thread-safe by replacing the HashMap with a ConcurrentHashMap.

Detailed summary

  • Replaced the HashMap with a ConcurrentHashMap in the TokenStorageImpl class to ensure thread-safety.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (190c55e) 88.07% compared to head (3585b39) 88.07%.

Additional details and impacted files
@@            Coverage Diff            @@
##                dev      #25   +/-   ##
=========================================
  Coverage     88.07%   88.07%           
  Complexity       42       42           
=========================================
  Files             6        6           
  Lines           218      218           
  Branches          8        8           
=========================================
  Hits            192      192           
  Misses           21       21           
  Partials          5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@IlyaLisov IlyaLisov merged commit 3cfb4ac into dev Jan 22, 2024
4 checks passed
@IlyaLisov IlyaLisov deleted the #20 branch January 22, 2024 08:32
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