Skip to content

Comments

Consumers were needlessly creating connections every tick.#2

Merged
brainlag merged 1 commit intobrainlag:masterfrom
moonpolysoft:fix-connection-leak
Sep 7, 2015
Merged

Consumers were needlessly creating connections every tick.#2
brainlag merged 1 commit intobrainlag:masterfrom
moonpolysoft:fix-connection-leak

Conversation

@moonpolysoft
Copy link

I fixed the set logic in the consumer connect method using immutable set difference logic, which makes it easier to reason about what's happening.

…logic to be immutable, making it easier to reason about.
brainlag added a commit that referenced this pull request Sep 7, 2015
Consumers were needlessly creating connections every tick.
@brainlag brainlag merged commit 520d48e into brainlag:master Sep 7, 2015
@brainlag
Copy link
Owner

brainlag commented Sep 7, 2015

Thx for the pull request.

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