Make autodiscovery frequency configurable