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

Get rid of global iso8601 formatter #274

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

adam-fowler
Copy link
Member

It is not thread safe on Linux

It is not thread safe on Linux
Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3c7f440) 84.66% compared to head (0a5cdf3) 84.67%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #274      +/-   ##
==========================================
+ Coverage   84.66%   84.67%   +0.01%     
==========================================
  Files          78       78              
  Lines        4831     4830       -1     
==========================================
  Hits         4090     4090              
+ Misses        741      740       -1     

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

Copy link
Contributor

@tib tib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it going to be slow to create the formatter all the time? 🤔

@adam-fowler
Copy link
Member Author

Isn't it going to be slow to create the formatter all the time? 🤔

I checked and it isn't an issue. We can't leave it as is, because it is not thread safe and can cause crashes.

@tib
Copy link
Contributor

tib commented Nov 14, 2023

Isn't it going to be slow to create the formatter all the time? 🤔

I checked and it isn't an issue. We can't leave it as is, because it is not thread safe and can cause crashes.

Yes I agree. Thanks for the quick answer.

@adam-fowler adam-fowler merged commit a0a17ae into main Nov 16, 2023
12 checks passed
@adam-fowler adam-fowler deleted the fix-nonthreadsafe-iso8601 branch November 16, 2023 11:52
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.

None yet

3 participants