Skip to content

Conversation

@kp-cat
Copy link
Member

@kp-cat kp-cat commented Nov 13, 2025

Describe the purpose of your pull request

ConfigCat client cannot be pass to other process: reason="TypeError: can't pickle _thread.lock objects". To avoid this, we pass only the sdk_key and get the singleton instance in the process.

How to test? (only if applicable)

  • Run the test called test_concurrency_process

Requirement checklist (only if applicable)

  • I have covered the applied changes with automated tests.
  • I have executed the full automated test set against my changes.
  • I have validated my changes against all supported platform versions.
  • I have read and accepted the contribution agreement.

ConfigCat client cannot be  pass to other process: reason="TypeError: can't pickle _thread.lock objects". To avoid this, we pass only the sdk_key and get the singleton instance in the process.
@kp-cat kp-cat requested a review from a team as a code owner November 13, 2025 10:42
laliconfigcat
laliconfigcat previously approved these changes Nov 13, 2025
@sonarqubecloud
Copy link

@kp-cat kp-cat merged commit d7db913 into master Nov 13, 2025
39 of 52 checks passed
@kp-cat kp-cat deleted the concurrency-process-test-fix branch November 13, 2025 11:00
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.

3 participants