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

Log warnings when refreshables have >1000 subscribers #119

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

carterkozak
Copy link
Contributor

Before this PR

This is intended to catch resource leaks. Currently it's difficult to do without a heap dump.

After this PR

==COMMIT_MSG==
Log warnings when refreshables have >1000 subscribers
==COMMIT_MSG==

Possible downsides?

It's possible a refreshable may end up with 1000 legitimate subscribers? Unlikely, and we can always modify the threshold later on.

@changelog-app
Copy link

changelog-app bot commented Mar 2, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Log warnings when refreshables have >1000 subscribers

Check the box to generate changelog(s)

  • Generate changelog entry

@bulldozer-bot bulldozer-bot bot merged commit 5969017 into develop Mar 2, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/excessive_subscriber_warning branch March 2, 2021 17:15
@svc-autorelease
Copy link
Collaborator

Released 1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants