Skip to content

Yaml reader is not thread safe#3625

Merged
sebr72 merged 2 commits intomapfish:masterfrom
sogelink:f/yamlthread
Jun 2, 2025
Merged

Yaml reader is not thread safe#3625
sebr72 merged 2 commits intomapfish:masterfrom
sogelink:f/yamlthread

Conversation

@arnaudboudier-sogelink
Copy link
Copy Markdown
Contributor

Yaml reader in ConfigurationFactory is not thread safe, it can be problematic when 'getConfig' function is called (line 64) with multiple threads as the same time.

@sbrunner sbrunner added the bug Something isn't working label May 14, 2025
@sebr72 sebr72 self-requested a review May 27, 2025 09:17
@arnaudboudier-sogelink
Copy link
Copy Markdown
Contributor Author

arnaudboudier-sogelink commented Jun 2, 2025

I have push the same text comit twice, so you see the changes following your pull request comments. Dont hesitate to squash these commits if you decide to merge this pull request

@sebr72 sebr72 self-requested a review June 2, 2025 19:35
Copy link
Copy Markdown
Contributor

@sebr72 sebr72 left a comment

Choose a reason for hiding this comment

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

Great work. Thanks

@sebr72 sebr72 merged commit b418309 into mapfish:master Jun 2, 2025
6 checks passed
@arnaudboudier-sogelink arnaudboudier-sogelink deleted the f/yamlthread branch June 3, 2025 07:17
lanseg pushed a commit that referenced this pull request Jun 3, 2025
* Yaml reader is not thread safe

* Yaml reader is not thread safe
@geo-ghci-int geo-ghci-int bot added this to the 3.32.0 milestone Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants