opensensorhub / osh-core

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

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

Closed earocorn closed 1 month ago

earocorn commented 1 month 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 1 month 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.