Skip to content

Use a lock internally to FsTzdbProvider instead of externally#327

Merged
nekevss merged 3 commits into
boa-dev:mainfrom
Manishearth:lock
Jun 3, 2025
Merged

Use a lock internally to FsTzdbProvider instead of externally#327
nekevss merged 3 commits into
boa-dev:mainfrom
Manishearth:lock

Conversation

@Manishearth

Copy link
Copy Markdown
Contributor

It already uses interior mutability, we don't gain much by having the lock be external in TZ_PROVIDER.

By having it be internal, the critical section of tzdb stuff is limited to the caching logic, rather than anything larger.

@Manishearth

Copy link
Copy Markdown
Contributor Author

(Needs a merge)

@nekevss nekevss merged commit 6d47e75 into boa-dev:main Jun 3, 2025
8 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in Temporal Implementation Jun 3, 2025
@Manishearth Manishearth deleted the lock branch June 3, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants