Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix bug with not despawning threads after subscription updates.#183

Merged
seba-aln merged 1 commit intomasterpubnub/python:masterfrom
fix/native-threads-manage-subscriptionspubnub/python:fix/native-threads-manage-subscriptionsCopy head branch name to clipboard
Mar 27, 2024
Merged

Fix bug with not despawning threads after subscription updates.#183
seba-aln merged 1 commit intomasterpubnub/python:masterfrom
fix/native-threads-manage-subscriptionspubnub/python:fix/native-threads-manage-subscriptionsCopy head branch name to clipboard

Conversation

@seba-aln
Copy link

No description provided.


thread = threading.Thread(
target=client.run,
name="Thread-%s-%d" % (operation_name, ++RequestsRequestHandler.ENDPOINT_THREAD_COUNTER)
Copy link
Author

Choose a reason for hiding this comment

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

err.. python doesn't support pre and post incrementation :)

"tests/integrational/fixtures/native_threads/file_upload/send_file.yaml",
filter_query_parameters=('pnsdk',)
)
def test_send_file(self):
Copy link
Author

Choose a reason for hiding this comment

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

this method was incorrectly treated as a test, not as a convenience method and was throwing warnings.

@seba-aln seba-aln merged commit 39359e0 into master Mar 27, 2024
@seba-aln seba-aln deleted the fix/native-threads-manage-subscriptions branch March 27, 2024 10:16
seba-aln pushed a commit that referenced this pull request Mar 28, 2024
* PubNub SDK v7.4.3 release.

---------

Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.