The DiscoveryService uses Constants.WS_TIMEOUT which is set to 5000.
Since wsDiscovery holds it's result while waiting for timeout, it takes approximately 1.4 hours before DiscoveryService.DiscoveredDevices is updated.
Should probably have a lower timeout or make wsDiscovery yield results when they are discovered.
The DiscoveryService uses Constants.WS_TIMEOUT which is set to 5000. Since wsDiscovery holds it's result while waiting for timeout, it takes approximately 1.4 hours before DiscoveryService.DiscoveredDevices is updated. Should probably have a lower timeout or make wsDiscovery yield results when they are discovered.