opensensorhub / osh-core

OpenSensorHub Core Modules
http://docs.opensensorhub.org
Mozilla Public License 2.0
33 stars 17 forks source link

Use TCP configuration options for connection timeout and retry attempts #269

Closed earocorn closed 2 months ago

earocorn commented 2 months ago

This change updates the TCPCommProvider to use configuration options from TCPConfig to make retry attempts and uses the connection timeout from the config instead of the 1 second default.

alexrobin commented 2 months ago

I'm merging this but it would be nice to rewrite it to use the RobustConnection or RobustIPConnection class.

However, these two classes would have to be refactored to be independent from AbstractModule first.