Azure / iot-identity-service

Source of the Azure IoT Identity Service and related services.
MIT License
37 stars 46 forks source link

Allow socket throttle limits to be configurable #445

Closed gordonwang0 closed 2 years ago

gordonwang0 commented 2 years ago

A better solution to https://github.com/Azure/iot-identity-service/issues/433 is to add a config option to allow the throttling limits to be configurable. This PR adds the max_requests option, which controls the throttling limit.

Reverts #438 and removes the no-socket-throttle feature.

gordonwang0 commented 2 years ago

I didn't add this setting to template.toml, since this should be a rarely-used setting. If needed, we can point to the documentation.