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

using pooled buffers has its own switch instread of 'optimizeForPerformance' #5358

Merged
merged 4 commits into from
Aug 12, 2021

Conversation

vipeller
Copy link
Contributor

OptimizeForPerformance affects other things and we want to be able to control pooled/unpooled buffers separately

@@ -79,6 +79,7 @@ public void Register(ContainerBuilder builder)
});

bool optimizeForPerformance = this.configuration.GetValue("OptimizeForPerformance", true);
bool usePooledBuffers = this.configuration.GetValue("UsePooledBuffers", false);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make this part of MqttSettings - https://github.com/Azure/iotedge/blob/master/edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.Service/appsettings_hub.json#L2
So something like - mqttSettings__UseBufferPooling or mqttSettings__UsePooledBuffers

@kodiakhq kodiakhq bot merged commit 50027ff into Azure:release/1.1 Aug 12, 2021
and-rewsmith pushed a commit to and-rewsmith/iotedge that referenced this pull request Aug 17, 2021
…rmance' (Azure#5358)

OptimizeForPerformance affects other things and we want to be able to control pooled/unpooled buffers separately
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

2 participants